Prerequisites
- A Langmail account — sign up at app.langmail.me.
- A Notion workspace with Notion AI. Custom MCP servers must be enabled by a workspace owner or admin.
Connect
1
Enable custom MCP servers (admin, once)
A workspace owner or admin goes to Settings → Connections, opens the Manage tab, and toggles on Enable custom MCP servers.
2
Add the Langmail connection
In your agent’s configuration, open Tools & Access and choose Add connection → Custom MCP server. Enter the URL:
3
Authorize access
Notion starts the authorization flow: sign in to your Langmail account and approve the consent screen.
Test it
Ask the agent:Prompt
search_emails with { "mailbox": "Inbox", "limit": 5 } and answers from the result.
Ending access
Remove the connection from the agent’s Tools & Access settings. Removing it discards its tokens; without the refresh token, access lapses when the current access token expires.Next steps
Search and triage email
Real prompts and the tool calls they produce.
How authorization works
What happens between “add connection” and “connected”.