Gmail API guide
mail.google.com
Search Gmail conversations, read messages and attachment details, and preview which messages a cleanup would move to Trash.
Actions and inputs
gmail searchFind threads using Gmail search syntax.
Inputs Search query
gmail threadRead the messages in a conversation.
Inputs Thread ID
gmail attachmentsList attachment details without downloading files.
Inputs Thread ID
cleanup planPreview the messages a cleanup would label or move to Trash.
Inputs Search query, cleanup action
Email drafts
- Create
Save an unsent draft in your Gmail account.
Inputs Account, recipients, subject, body, optional attachments
- Read
Open a draft and review its recipients, text, and attachments.
Inputs Account and draft link or subject
- Update
Revise the draft without sending it.
Inputs Draft link and changes to recipients, subject, body, or attachments
- Delete
Discard the selected unsent draft without deleting sent messages in the conversation.
Inputs Draft link and confirmation