draft_gmail_message
Create and save draft emails in Gmail by specifying subject, body, and optional recipient. Ideal for preparing messages to send later or review with a team.
Instructions
Creates a draft email in the user's Gmail account.
Args:
user_google_email (str): The user's Google email address. Required.
subject (str): Email subject.
body (str): Email body (plain text).
to (Optional[str]): Optional recipient email address. Can be left empty for drafts.
Returns:
str: Confirmation message with the created draft's ID.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
body | Yes | Email body (plain text). | |
service | Yes | ||
subject | Yes | Email subject. | |
to | No | Optional recipient email address. | |
user_google_email | Yes |
Input Schema (JSON Schema)
{
"properties": {
"body": {
"description": "Email body (plain text).",
"title": "Body",
"type": "string"
},
"service": {
"title": "service",
"type": "string"
},
"subject": {
"description": "Email subject.",
"title": "Subject",
"type": "string"
},
"to": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional recipient email address.",
"title": "To"
},
"user_google_email": {
"title": "User Google Email",
"type": "string"
}
},
"required": [
"service",
"user_google_email",
"subject",
"body"
],
"title": "draft_gmail_messageArguments",
"type": "object"
}