MCP Headless Gmail Server
JSON →A headless server to get and send emails via the Gmail API, requiring Google API credentials at runtime.
Install
pip install -e Tools · 4
- refresh_token Refresh an expired Google access token using a refresh token, client ID, and client secret.
- get_recent_emails Retrieve recent emails from Gmail with the first 1k characters of each email body.
- get_email_body Get full email body content in 1k chunks using a message ID or thread ID and offset parameter.
- send_email Send an email through Gmail.
Links
★ 54 GitHub stars