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

ID: 3o1svf6vxd