Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Create draft
AGENT_MAIL_MCP_CREATE_DRAFTCreate a draft email. Without sendAt, saves an unsent draft. With sendAt (ISO 8601 datetime), schedules automatic sending to the specified recipients without another tool call. Attachment URLs are fetched when creating the draft.
Create event
AGENT_MAIL_MCP_CREATE_EVENTCreate a one-off or recurring event on an inbox's calendar, with this inbox as organizer. start and end are local wall-clock times in timezone (the calendar's default, UTC unless changed, when omitted); the result also gives them as UTC instants. With sendInvites the inbox emails every attendee an invitation right away, which cannot be recalled; without it attendees are only listed. Retrying with the same clientId returns the event already created instead of a second one. Calendar works for every organization in US production; EU production returns 403 "Calendar isn't available in this region yet".
Create inbox
AGENT_MAIL_MCP_CREATE_INBOXCreate an inbox and return it, including the email address that is its inboxId. Optionally choose the username, domain, display name, and metadata; creating again with the same clientId returns the inbox it already created.
Forward message
AGENT_MAIL_MCP_FORWARD_MESSAGEForward a message to new recipients; it is sent right away and cannot be recalled. Your text comes first, then the original message with all of its attachments.
Reply to message
AGENT_MAIL_MCP_REPLY_TO_MESSAGEReply to a message in its thread; the reply is sent right away and cannot be recalled. It quotes the original and goes to the original's Reply-To or sender unless you set to; set replyAll to include all original recipients.
Send feedback
AGENT_MAIL_MCP_SEND_FEEDBACKRecords feedback about this MCP server, including unexpected tool failures, unhelpful responses, or missing capabilities observed by the agent or reported by the user.
Send message
AGENT_MAIL_MCP_SEND_MESSAGESend an email from an inbox right away; once sent it cannot be recalled. Returns the messageId and threadId of the sent message.
Upload file
AGENT_MAIL_MCP_UPLOAD_FILEStore a file at a path in an inbox's drive (Agent Drive) and get it back ready, with a download link when the credential may read files. Give text as content, or base64 with encoding base64 for any other bytes. Retrying the identical call returns the same file. A path holds one file: uploading something different to a path whose file is ready fails, so delete it first or pick another path. Files count against the organization's quota (1 GiB and 10,000 files by default); a refusal says which limit. Agent Drive is in AgentMail Labs (US only); an organization outside Labs gets a 403. Through this server a call is at most 10 MB, so a file sent as base64 can be about 7 MB at most.