Gmail for Claude, Cursor, ChatGPT & agents
Gmail — search emails with Gmail query syntax, read messages and full threads, send / reply / draft email with attachments, download attachments, and batch-manage labels (archive, mark read, star,...
curl -fsSL https://tradeloop.top/install.sh | shmacOS / Linux. Windows + manual install.
What it does
Gmail — search emails with Gmail query syntax, read messages and full threads, send / reply / draft email with attachments, download attachments, and batch-manage labels (archive, mark read, star, trash). Use when the user mentions Gmail, email, inbox, send a note, reply to so-and-so, draft a follow-up, archive / star / unsubscribe, or wants to find / read / send mail.
The Gmail skill is one of 25+ pre-wired TradeLoop integrations that any MCP-compatible client — Claude Desktop, Claude Code, Cursor, Windsurf, Codex CLI, and ChatGPT desktop — can call out of the box. You don't configure MCP servers or copy API keys into a JSON file; the TradeLoop daemon discovers the skill at startup and exposes its tools to whichever AI client is running.
Sample prompts
Once TradeLoop is installed and Gmail is connected, ask your agent something like:
- “Find emails from my manager this week and summarize the action items.”
- “Draft a reply to the latest invoice from Stripe — say I'll pay tomorrow.”
- “Archive every promotional email from last month that I haven't replied to.”
Tools available (8)
gmail__search_emailsSearch / find / look up Gmail messages using full Gmail search syntax (from:, to:, subject:, has:attachment, newer_than:1d, label:). Use when the user wants to find emails by sender, topic, date, or any combination. Returns lightweight metadata; use read_email for full body.
gmail__read_emailRead an email. Returns headers + first 5000 chars of body by default; pass include_full_body=true to get the entire body. Truncation is signalled in the response (body_truncated, body_full_length).
gmail__send_emailSend / compose / fire off an email via Gmail with subject, body (text or HTML), and optional file attachments (path or base64). Use when the user wants to send mail, follow up with a contact, share a file, or notify someone. 25MB total cap after base64 expansion.
gmail__create_draftCreate / save a Gmail draft without sending, optionally with attachments. Use when the user wants to prepare / queue / draft an email for review before sending, or pre-write a reply.
gmail__batch_modifyBatch add / remove Gmail labels on many emails at once — archive (remove INBOX), mark read (remove UNREAD), star (add STARRED), move to TRASH, unstar, etc. Use when the user wants to bulk-clean / triage / file inbox messages.
gmail__get_threadRead / fetch all messages in a Gmail conversation thread with metadata summary. Use when the user wants the full back-and-forth context for a thread before replying or summarizing.
gmail__get_attachmentDownload a Gmail attachment by email_id + attachment_id (from read_email). The attachment is written to DISK and returned as `saved_to` — never inlined as base64 (multi-MB attachments flooded the conversation). Small UTF-8 text attachments (<=100KB) also include inline `content`. Pass save_path to choose the destinatio
gmail__get_accountIdentify which Google account TradeLoop is currently connected as — returns the account's email address (plus mailbox totals). Use when the user asks 'which Google / Gmail account am I using', 'whoami', 'which account is connected', or needs to confirm the active identity before a write action. The same Google connecti
How to connect
Gmail needs a one-click OAuth grant to talk to google. Connect it from the TradeLoop dashboard:
- Run
curl -fsSL https://tradeloop.top/install.sh | shon macOS / Linux (or the PowerShell command on Windows). - Run
tradeloop loginto create your account and a device-bound encryption key. - Visit tradeloop.top/connect and authorize Gmail.
- Run
tradeloop updateto sync the skill + credentials to every installed AI client.
Pricing
Free at every TradeLoop tier. Connect your account once at /connect; the OAuth or API-key credential stays encrypted on your machine and syncs to your other devices via the TradeLoop vault.
See the full TradeLoop pricing breakdown — Free $0/mo, Pro $29/mo, Ultra $99/mo — on the homepage.
Related
Looking at Gmail? You may also want:
- Discord — send messages to channels, list guilds (servers) and channels, read channel history via the Discord REST API v10 with a bot token
- Reddit — search across all subreddits, browse hot / new / top posts in a subreddit, fetch posts with their top-level comments, and submit text posts or comment replies
- Slack — channels, messages, threads, search, reactions, files, user lookup, status, scheduled sends
- Telegram — send text messages and photos via a bot, fetch incoming updates (long-polling), and inspect chat metadata via the Telegram Bot API
Or browse all 25 skills in the TradeLoop catalog.