Skip to main content
Notion agents can use the Langmail MCP server as a custom MCP connection.

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.
Once connected, the Langmail tools are available to the agent like any pre-configured connection.

Test it

Ask the agent:
Prompt
It calls 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”.