Skip to main content
Glama

AVA MCP Server

write_email_draft

Generate draft emails using the Gmail API by specifying recipient, subject, and body, enabling efficient email creation and management within the AVA MCP Server.

Instructions

Create a draft email using the Gmail API.

Args: recipient_email (str): The email address of the recipient. subject (str): The subject line of the email. body (str): The main content/body of the email. Returns: dict or None: A dictionary containing the draft information including 'id' and 'message' if successful, None if an error occurs. Raises: HttpError: If there is an error communicating with the Gmail API. Note: This function requires: - Gmail API credentials to be properly configured - USER_EMAIL environment variable to be set with the sender's email address - Appropriate Gmail API permissions for creating drafts

Input Schema

NameRequiredDescriptionDefault
bodyYes
recipient_emailYes
subjectYes

Input Schema (JSON Schema)

{ "properties": { "body": { "title": "Body", "type": "string" }, "recipient_email": { "title": "Recipient Email", "type": "string" }, "subject": { "title": "Subject", "type": "string" } }, "required": [ "recipient_email", "subject", "body" ], "title": "write_email_draftArguments", "type": "object" }

You must be authenticated.

Other Tools from AVA MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ramaiyaKushal/mcp-learning'

If you have feedback or need assistance with the MCP directory API, please join our Discord server