npx skills add https://github.com/dglowacki/mega-agent-v2 --skill email-formatting使用我们标志性的新粗野主义设计美学来格式化邮件。
对于纯文本邮件,直接使用:
# 纯文本 - 无需格式化
text = "您的消息内容"
对于 HTML 邮件,使用模板:
python scripts/format_email.py --template daily-report --data data.json
我们的邮件设计遵循新粗野主义美学:
daily-report)用于每日活动摘要(GitHub、Fieldy 等)
数据结构:
{
"title": "每日 GitHub 报告",
"date": "2026-01-04",
"summary": "简要概述",
"sections": [
{
"title": "提交记录",
"content": "HTML 内容",
"items": ["项目 1", "项目 2"]
}
],
"stats": {
"total_commits": 5,
"files_changed": 12
}
}
Format emails with our signature neo-brutal design aesthetic.
For plain text emails, use directly:
# Plain text - no formatting needed
text = "Your message here"
For HTML emails, use templates:
python scripts/format_email.py --template daily-report --data data.json
Our email design follows neo-brutal aesthetic:
daily-report)For daily activity summaries (GitHub, Fieldy, etc.)
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
simple)用于格式化的简单消息
数据结构:
{
"title": "消息标题",
"body": "消息正文",
"footer": "可选的页脚"
}
data-table)用于表格数据展示
数据结构:
{
"title": "报告标题",
"headers": ["列 1", "列 2"],
"rows": [
["值 1", "值 2"],
["值 3", "值 4"]
]
}
所有模板都使用此基础结构:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
margin: 0;
padding: 20px;
background-color: #f5f5f5;
}
.container {
max-width: 600px;
margin: 0 auto;
background-color: white;
border: 4px solid black;
padding: 0;
}
.header {
background-color: black;
color: white;
padding: 20px;
font-size: 24px;
font-weight: 900;
border-bottom: 4px solid black;
}
.section {
padding: 20px;
border-bottom: 3px solid black;
}
.section:last-child {
border-bottom: none;
}
.section-title {
font-size: 18px;
font-weight: 800;
margin-bottom: 10px;
text-transform: uppercase;
}
.stat-box {
display: inline-block;
background-color: #ffeb3b;
border: 3px solid black;
padding: 10px 15px;
margin: 5px;
font-weight: 700;
}
.accent-green { background-color: #4caf50; color: white; }
.accent-red { background-color: #f44336; color: white; }
.accent-blue { background-color: #2196f3; color: white; }
ul {
list-style: none;
padding: 0;
}
li {
padding: 8px;
margin: 5px 0;
background-color: #f5f5f5;
border-left: 4px solid black;
}
table {
width: 100%;
border-collapse: collapse;
}
th, td {
padding: 12px;
text-align: left;
border: 2px solid black;
}
th {
background-color: black;
color: white;
font-weight: 800;
}
.footer {
padding: 15px 20px;
background-color: #f5f5f5;
border-top: 3px solid black;
font-size: 12px;
}
</style>
</head>
<body>
<!-- 内容在此处 -->
</body>
</html>
主色: #000000 (黑色)
背景: #FFFFFF (白色)
强调色 1: #FFEB3B (黄色)
强调色 2: #4CAF50 (绿色)
强调色 3: #F44336 (红色)
强调色 4: #2196F3 (蓝色)
灰色: #F5F5F5 (浅灰色)
# 格式化并发送 HTML 邮件
html = format_email_html(template='daily-report', data=report_data)
gmail.send_email(to=recipient, subject=subject, body_html=html)
# 生成报告 HTML
report_html = format_email_html(template='data-table', data=table_data)
# 委托给通信智能体发送
查看 scripts/format_email.py 以了解程序化邮件格式化的方法。
每周安装次数
1
代码仓库
首次出现
1 天前
安全审计
安装于
zencoder1
amp1
cline1
openclaw1
opencode1
cursor1
{
"title": "Daily GitHub Report",
"date": "2026-01-04",
"summary": "Brief overview",
"sections": [
{
"title": "Commits",
"content": "HTML content",
"items": ["item 1", "item 2"]
}
],
"stats": {
"total_commits": 5,
"files_changed": 12
}
}
simple)For plain formatted messages
Data structure:
{
"title": "Message Title",
"body": "Message body text",
"footer": "Optional footer"
}
data-table)For tabular data display
Data structure:
{
"title": "Report Title",
"headers": ["Column 1", "Column 2"],
"rows": [
["Value 1", "Value 2"],
["Value 3", "Value 4"]
]
}
All templates use this base structure:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
margin: 0;
padding: 20px;
background-color: #f5f5f5;
}
.container {
max-width: 600px;
margin: 0 auto;
background-color: white;
border: 4px solid black;
padding: 0;
}
.header {
background-color: black;
color: white;
padding: 20px;
font-size: 24px;
font-weight: 900;
border-bottom: 4px solid black;
}
.section {
padding: 20px;
border-bottom: 3px solid black;
}
.section:last-child {
border-bottom: none;
}
.section-title {
font-size: 18px;
font-weight: 800;
margin-bottom: 10px;
text-transform: uppercase;
}
.stat-box {
display: inline-block;
background-color: #ffeb3b;
border: 3px solid black;
padding: 10px 15px;
margin: 5px;
font-weight: 700;
}
.accent-green { background-color: #4caf50; color: white; }
.accent-red { background-color: #f44336; color: white; }
.accent-blue { background-color: #2196f3; color: white; }
ul {
list-style: none;
padding: 0;
}
li {
padding: 8px;
margin: 5px 0;
background-color: #f5f5f5;
border-left: 4px solid black;
}
table {
width: 100%;
border-collapse: collapse;
}
th, td {
padding: 12px;
text-align: left;
border: 2px solid black;
}
th {
background-color: black;
color: white;
font-weight: 800;
}
.footer {
padding: 15px 20px;
background-color: #f5f5f5;
border-top: 3px solid black;
font-size: 12px;
}
</style>
</head>
<body>
<!-- Content here -->
</body>
</html>
Primary: #000000 (black)
Background: #FFFFFF (white)
Accent 1: #FFEB3B (yellow)
Accent 2: #4CAF50 (green)
Accent 3: #F44336 (red)
Accent 4: #2196F3 (blue)
Gray: #F5F5F5 (light gray)
# Format and send HTML email
html = format_email_html(template='daily-report', data=report_data)
gmail.send_email(to=recipient, subject=subject, body_html=html)
# Generate report HTML
report_html = format_email_html(template='data-table', data=table_data)
# Delegate to communication-agent to send
See scripts/format_email.py for programmatic email formatting.
Weekly Installs
1
Repository
First Seen
1 day ago
Security Audits
Installed on
zencoder1
amp1
cline1
openclaw1
opencode1
cursor1
agent-browser 浏览器自动化工具 - Vercel Labs 命令行网页操作与测试
147,400 周安装
营销视觉设计指南:广告创意、社交媒体图形、邮件横幅与品牌宣传材料制作
226 周安装
React/Next.js 高级质量保证工具:自动化测试、覆盖率分析与E2E测试脚手架
229 周安装
Claude AI 与 Claude Code 能力对比参考 - 最新功能、限制与使用指南
230 周安装
Hugging Face Jobs:云端运行AI工作负载,无需本地GPU,支持数据处理、批量推理和模型训练
232 周安装
Telegram Bot 开发指南:Node.js/Python 构建机器人教程(含Webhook、支付、部署)
234 周安装
Polymarket交易员分析工具:追踪链上交易活动与持仓数据
234 周安装