Skip to main content
Glama
leeguooooo
by leeguooooo
notification_config.example.json4.81 kB
{ "webhooks": [ { "name": "dingtalk_main", "webhook_url": "https://oapi.dingtalk.com/robot/send?access_token=YOUR_DINGTALK_TOKEN", "webhook_type": "dingtalk", "secret": "YOUR_DINGTALK_SECRET", "retry_times": 3, "retry_delay": 5, "timeout": 10, "rate_limit": 10, "enabled": true, "template": "dingtalk" }, { "name": "feishu_main", "webhook_url": "https://open.feishu.cn/open-apis/bot/v2/hook/YOUR_FEISHU_TOKEN", "webhook_type": "feishu", "secret": "YOUR_FEISHU_SECRET", "retry_times": 3, "retry_delay": 5, "timeout": 10, "rate_limit": 10, "enabled": false, "template": "feishu" }, { "name": "wechat_work", "webhook_url": "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=YOUR_WECHAT_KEY", "webhook_type": "wechat", "retry_times": 3, "retry_delay": 5, "timeout": 10, "rate_limit": 10, "enabled": false, "template": "wechat" }, { "name": "slack_channel", "webhook_url": "https://hooks.slack.com/services/YOUR/SLACK/WEBHOOK", "webhook_type": "slack", "retry_times": 3, "retry_delay": 5, "timeout": 10, "rate_limit": 10, "enabled": false, "template": "slack" }, { "name": "custom_webhook", "webhook_url": "https://your-custom-webhook.com/notify", "webhook_type": "custom", "retry_times": 3, "retry_delay": 5, "timeout": 10, "rate_limit": 10, "enabled": false, "template": "default" } ], "deduplication": { "enabled": true, "window_hours": 24, "cleanup_days": 7 }, "templates": { "default": { "title": "重要邮件提醒", "content": "收到重要邮件:\\n\\n**主题**: {subject}\\n**发件人**: {sender}\\n**时间**: {date}\\n**重要性**: {priority_score:.1%}\\n**原因**: {reason}\\n\\n{body_preview}" }, "dingtalk": { "msgtype": "markdown", "markdown": { "title": "重要邮件提醒", "text": "## 📧 重要邮件提醒\\n\\n**主题**: {subject}\\n\\n**发件人**: {sender}\\n\\n**时间**: {date}\\n\\n**重要性**: {priority_score:.1%}\\n\\n**分析原因**: {reason}\\n\\n**分类**: {category}\\n\\n**预览**: {body_preview}\\n\\n**建议操作**: {suggested_action}\\n\\n---\\n\\n> 邮件ID: {email_id} | 账户: {account_id}" } }, "feishu": { "msg_type": "interactive", "card": { "elements": [ { "tag": "div", "text": { "content": "**📧 重要邮件提醒**\\n\\n**主题**: {subject}\\n**发件人**: {sender}\\n**时间**: {date}\\n**重要性**: {priority_score:.1%}\\n**分类**: {category}\\n\\n**分析原因**: {reason}\\n\\n**预览**: {body_preview}\\n\\n**建议**: {suggested_action}", "tag": "lark_md" } } ], "header": { "title": { "content": "📧 重要邮件", "tag": "plain_text" }, "template": "red" } } }, "wechat": { "msgtype": "markdown", "markdown": { "content": "## 📧 重要邮件提醒\\n\\n**主题**: {subject}\\n**发件人**: {sender}\\n**时间**: {date}\\n**重要性**: <font color=\\"warning\\">{priority_score:.1%}</font>\\n**分类**: <font color=\\"info\\">{category}</font>\\n\\n**分析原因**: {reason}\\n\\n**预览**: {body_preview}\\n\\n**建议操作**: {suggested_action}" } }, "slack": { "text": "重要邮件提醒", "blocks": [ { "type": "header", "text": { "type": "plain_text", "text": "📧 重要邮件提醒" } }, { "type": "section", "fields": [ { "type": "mrkdwn", "text": "*主题:*\\n{subject}" }, { "type": "mrkdwn", "text": "*发件人:*\\n{sender}" }, { "type": "mrkdwn", "text": "*时间:*\\n{date}" }, { "type": "mrkdwn", "text": "*重要性:*\\n{priority_score:.1%}" } ] }, { "type": "section", "text": { "type": "mrkdwn", "text": "*分析原因:* {reason}\\n*分类:* {category}\\n*预览:* {body_preview}\\n*建议:* {suggested_action}" } }, { "type": "context", "elements": [ { "type": "mrkdwn", "text": "邮件ID: {email_id} | 账户: {account_id}" } ] } ] } } }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/leeguooooo/email-mcp-service'

If you have feedback or need assistance with the MCP directory API, please join our Discord server