在 Grok Bot 中通过 MCP 连接邮箱
将 Multi Mail MCP 服务器作为自定义连接器添加到 Grok Bot,然后在 Lumman 页面上批准。iCloud、Yahoo、AOL、Fastmail 和您自有域名的邮箱通过 IMAP 连接(Multi Mail 从 Lumman 的服务器使用 IMAP 通信,因此 Grok Bot 只需 HTTPS),还可连接多个 Gmail 或 Outlook 邮箱,一次搜索所有邮箱。
连接方法
Multi Mail
Gmail、Outlook.com、Hotmail、Microsoft 365、Yahoo、iCloud 和其他邮箱,一个连接器全部接入。
- 1
复制以下网址。
- 2
在 Grok Bot 桌面应用中,打开“Connect apps”,然后点击底部的“Add a custom connector”。名称填写 Multi Mail,在“Type”中选择“Remote HTTPS”,并将网址粘贴到“Server URL”。“HTTP headers”和“Client ID”留空,然后点击“Add plugin”。
在 Mac、Windows 或 Linux 上,按照xAI 的文档对自定义连接器的说明操作。无需密钥,Grok Bot 会自动完成设置。
- 3
点击“Authenticate”,然后在浏览器打开的 Lumman 页面上登录、添加您的邮箱并批准 Cursor(Grok Bot 以 Cursor 的名义登录)。之后在聊天中输入 @ 并选择 Multi Mail。
能做什么
- 一次搜索和读取您添加的所有邮箱,并可从其中任意一个起草、回复、转发和发送邮件。
- 归档邮件、将邮件移入回收站或归入文件夹,按发件人清理收件箱,并可将清理时移走的邮件放回原处。
AI 应用自带的连接器
MCP server
Address
Connection
- Transport
- Streamable HTTP
- Sign-in
- OAuth 2.1 with dynamic client registration. No key or client id.
- PKCE
- S256 only - a request bound with plain is refused
- A request
- Lasts 10 minutes - connect again from the app for a fresh one
- Discovery
- https://mail.lumman.co/.well-known/oauth-protected-resource/mcp
- Removing an app
- Stops its next call
Tools
36 - each on or off per mailbox, in your accountReading6 tools
messages_listmessages_list_all_mailboxesthreads_getmessages_getmessages_attachments_getsweeps_previewDrafts5 tools
drafts_createdrafts_updatedrafts_replydrafts_forwarddrafts_deleteSending4 tools
messages_senddrafts_sendmessages_replymessages_forwardOrganising10 tools
labels_listlabels_createlabels_updatelabels_deletethreads_modifythreads_archivethreads_trashthreads_untrashsweeps_applysweeps_put_backSettings9 tools
settings_filters_listsettings_filters_createsettings_filters_updatesettings_filters_deletesettings_send_as_patchsettings_send_as_getsettings_send_as_findsettings_get_vacationsettings_update_vacationLimits
- An action
- One call that reaches a mailbox - up to 100 threads at once - or fetches a file
- Free
- 25 actions a day, up to 100 a month
- Plan
- 1,000 actions a day on Standard, 10,000 on Plus, with no monthly limit
- Not counted
- Calls that are refused or fail
- One answer
- Up to 149,000 bytes
Grok Bot 可访问的内容
- 可访问
- 您添加的邮箱,经由您为每个邮箱启用的工具
- 绝不会做
- 永久删除邮件,或读取 Lumman 自己发出的登录邮件
- 网络
- Grok Bot 从 Cursor 的服务器通过 HTTPS 访问 Multi Mail;Multi Mail 从 Lumman 的服务器通过 IMAP 和 SMTP 与 iCloud、Yahoo、AOL、Fastmail 及您自有域名的邮箱通信
- 团队
- 能否保存该连接器取决于您团队管理员的 MCP 策略
- 权限
- 在 Grok Bot 的连接器页面上按工具设置(Always allow、Auto-review、Needs approval 或 Blocked),在 lumman.co 上按邮箱设置
- 应用专用密码
- iCloud、Yahoo 和 AOL 的应用专用密码在 lumman.co 上输入,绝不在聊天中输入
Your data
- No copy kept - read from your provider on each call
- Screening
- Words screened both ways for prompt attacks; a screening that cannot answer closes the call. A file's own bytes are not screened.
- Credentials
- Encrypted under a key held outside the database
- Activity record
- What each call did, in which mailbox and how it ended - never what a message says
Source
- Repository
- github.com/lumman-lab/multi-mail
- MCP registry
- co.lumman/mail
- This page as text
- lumman.co/mcp/grok-bot.md
- For AI agents
- lumman.co/llms.txt
If something fails
The sign-in window ran out or closed
Close it and connect again from your AI client - that opens a fresh request. Any mailbox you added stays in your account.
No mailbox is connected yet
Open https://lumman.co/mcp/account/multi-mail, signed in with the account you approved your AI client with, and add one. Then ask again.
A mailbox stopped working
Its provider no longer accepts the access it gave - after a password change, a removed app password or a withdrawn approval. Open your account, press Reconnect on that mailbox and ask again.
The free actions are used
A free account has 25 actions a day and up to 100 a month; each search, read or send counts as one. A day's actions all come back at 00:00 UTC the next day. A month's actions all come back at 00:00 UTC on the 1st. The Standard plan gives 1,000 a day with no monthly limit, and the Plus plan 10,000 a day.
Grok 是 SpaceX Super Intelligence LLC 的商标。Lumman 与 SpaceXSI 或 Cursor 均无关联。