Gmail MCP

by shinzo-labs
Verified
MIT License
126
1
  • Apple
  • Linux

create_draft

Generate draft emails in Gmail by specifying recipients, subject, body, and optional raw RFC 2822 format. Use the MCP server tool to streamline email creation and management.

Instructions

Create a draft email in Gmail. Note the mechanics of the raw parameter.

Input Schema

NameRequiredDescriptionDefault
bccNoList of BCC recipient email addresses
bodyNoThe body of the email
ccNoList of CC recipient email addresses
includeBodyHtmlNoWhether to include the parsed HTML in the return for each body, excluded by default because they can be excessively large
rawNoThe entire email message in base64url encoded RFC 2822 format, ignores params.to, cc, bcc, subject, body, includeBodyHtml if provided
subjectNoThe subject of the email
threadIdNoThe thread ID to associate this draft with
toNoList of recipient email addresses

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "bcc": { "description": "List of BCC recipient email addresses", "items": { "type": "string" }, "type": "array" }, "body": { "description": "The body of the email", "type": "string" }, "cc": { "description": "List of CC recipient email addresses", "items": { "type": "string" }, "type": "array" }, "includeBodyHtml": { "description": "Whether to include the parsed HTML in the return for each body, excluded by default because they can be excessively large", "type": "boolean" }, "raw": { "description": "The entire email message in base64url encoded RFC 2822 format, ignores params.to, cc, bcc, subject, body, includeBodyHtml if provided", "type": "string" }, "subject": { "description": "The subject of the email", "type": "string" }, "threadId": { "description": "The thread ID to associate this draft with", "type": "string" }, "to": { "description": "List of recipient email addresses", "items": { "type": "string" }, "type": "array" } }, "type": "object" }
ID: 1je9b8hapn