Skip to Content

Gmail

Service domainEMAIL
Gmail icon
Arcade Optimized

Arcade.dev LLM tools for Gmail

Author:Arcade
Version:4.2.0
Auth:User authorization via the Google auth provider
18tools
PyPI VersionPython VersionsWheel StatusDownloadsLicense

Arcade.dev's Gmail toolkit enables seamless integration with the Gmail API, allowing developers to manage emails and labels effectively within their applications.

Capabilities

  • Manage email threads and labels.
  • Compose, send, and manage drafts.
  • Retrieve detailed user profile information.
  • Support for email searching and filtering.
  • Efficiently handle email status changes such as trashing.

OAuth

  • Provider: Google
  • Scopes: Access to read, compose, modify, and send Gmail emails, alongside user profile information.

Secrets

  • No secret types required for toolkit operation.

Available tools(18)

18 of 18 tools
Operations
Behavior
Tool nameDescriptionSecrets
Add and remove labels from an email using the Gmail API.
Create a new label in the user's mailbox.
Delete a draft email using the Gmail API.
Get the specified thread by ID.
Lists draft emails in the user's draft mailbox using the Gmail API.
Read emails from a Gmail account and extract plain text content.
Search for emails by header using the Gmail API.
List all the labels in the user's mailbox.
List threads in the user's mailbox.
Send a reply to an email message.
Search for threads in the user's mailbox
Send a draft email using the Gmail API.
Send an email using the Gmail API.
Move an email to the trash folder using the Gmail API.
Update an existing email draft using the Gmail API.
Get comprehensive user profile and Gmail account information. This tool provides detailed information about the authenticated user including their name, email, profile picture, Gmail account statistics, and other important profile details from Google services.
Compose a new email draft using the Gmail API.
Compose a draft reply to an email message.

Selected tools

No tools selected.

Click "Show all tools" to add tools.

Requirements

Select tools to see requirements

#

Gmail.ChangeEmailLabels

Execution hints

Signals for MCP clients and agents about how this tool behaves.

Operations
Update
Service domains
Email
MCP behavior
Read only
No

Does not modify remote state.

Destructive
No

May delete or overwrite remote data.

Idempotent
Yes

Safe to retry without extra side effects.

Open world
Yes

Can call out to external systems.

Add and remove labels from an email using the Gmail API.

Parameters

ParameterTypeReq.Description
email_idstringRequiredThe ID of the email to modify labels for
labels_to_addarray<string>RequiredList of label names to add
labels_to_removearray<string>RequiredList of label names to remove

Requirements

No secrets required

Output

Type:jsonConfirmation with labels that were added and removed
#

Gmail.CreateLabel

Execution hints

Signals for MCP clients and agents about how this tool behaves.

Operations
Create
Service domains
Email
MCP behavior
Read only
No

Does not modify remote state.

Destructive
No

May delete or overwrite remote data.

Idempotent
No

Safe to retry without extra side effects.

Open world
Yes

Can call out to external systems.

Create a new label in the user's mailbox.

Parameters

ParameterTypeReq.Description
label_namestringRequiredThe name of the label to create

Requirements

No secrets required

Output

Type:jsonThe created label wrapped in label key
#

Gmail.DeleteDraftEmail

Execution hints

Signals for MCP clients and agents about how this tool behaves.

Operations
Delete
Service domains
Email
MCP behavior
Read only
No

Does not modify remote state.

Destructive
Yes

May delete or overwrite remote data.

Idempotent
Yes

Safe to retry without extra side effects.

Open world
Yes

Can call out to external systems.

Delete a draft email using the Gmail API.

Parameters

ParameterTypeReq.Description
draft_email_idstringRequiredThe ID of the draft email to delete

Requirements

No secrets required

Output

Type:stringA confirmation message indicating successful deletion
#

Gmail.GetThread

Execution hints

Signals for MCP clients and agents about how this tool behaves.

Operations
Read
Service domains
Email
MCP behavior
Read only
Yes

Does not modify remote state.

Destructive
No

May delete or overwrite remote data.

Idempotent
Yes

Safe to retry without extra side effects.

Open world
Yes

Can call out to external systems.

Get the specified thread by ID.

Parameters

ParameterTypeReq.Description
thread_idstringRequiredThe ID of the thread to retrieve

Requirements

No secrets required

Output

Type:jsonA dictionary containing the thread details with dates in descriptive UTC format
#

Gmail.ListDraftEmails

Execution hints

Signals for MCP clients and agents about how this tool behaves.

Operations
Read
Service domains
Email
MCP behavior
Read only
Yes

Does not modify remote state.

Destructive
No

May delete or overwrite remote data.

Idempotent
Yes

Safe to retry without extra side effects.

Open world
Yes

Can call out to external systems.

Lists draft emails in the user's draft mailbox using the Gmail API.

Parameters

ParameterTypeReq.Description
n_draftsintegerOptionalNumber of draft emails to read (Min 1, Max 100)

Requirements

No secrets required

Output

Type:jsonA dictionary containing a list of draft email details with dates in descriptive UTC format
#

Gmail.ListEmails

Execution hints

Signals for MCP clients and agents about how this tool behaves.

Operations
Read
Service domains
Email
MCP behavior
Read only
Yes

Does not modify remote state.

Destructive
No

May delete or overwrite remote data.

Idempotent
Yes

Safe to retry without extra side effects.

Open world
Yes

Can call out to external systems.

Read emails from a Gmail account and extract plain text content.

Parameters

ParameterTypeReq.Description
n_emailsintegerOptionalNumber of emails to read (Min 1, Max 100)

Requirements

No secrets required

Output

Type:jsonA dictionary containing a list of email details with dates in descriptive UTC format
#

Gmail.ListEmailsByHeader

Execution hints

Signals for MCP clients and agents about how this tool behaves.

Operations
Read
Service domains
Email
MCP behavior
Read only
Yes

Does not modify remote state.

Destructive
No

May delete or overwrite remote data.

Idempotent
Yes

Safe to retry without extra side effects.

Open world
Yes

Can call out to external systems.

Search for emails by header using the Gmail API.

Parameters

ParameterTypeReq.Description
senderstringOptionalThe name or email address of the sender of the email
recipientstringOptionalThe name or email address of the recipient
subjectstringOptionalWords to find in the subject of the email
bodystringOptionalWords to find in the body of the email
date_rangestringOptionalThe date range of the email
todayyesterdaylast_7_dayslast_30_daysthis_monthlast_monththis_year
labelstringOptionalThe label name to filter by
max_resultsintegerOptionalThe maximum number of emails to return (Min 1, Max 100

Requirements

No secrets required

Output

Type:jsonA dictionary containing a list of email details with dates in descriptive UTC format
#

Gmail.ListLabels

Execution hints

Signals for MCP clients and agents about how this tool behaves.

Operations
Read
Service domains
Email
MCP behavior
Read only
Yes

Does not modify remote state.

Destructive
No

May delete or overwrite remote data.

Idempotent
Yes

Safe to retry without extra side effects.

Open world
Yes

Can call out to external systems.

List all the labels in the user's mailbox.

Parameters

No parameters required.

Requirements

No secrets required

Output

Type:jsonA dictionary containing a list of label details
#

Gmail.ListThreads

Execution hints

Signals for MCP clients and agents about how this tool behaves.

Operations
Read
Service domains
Email
MCP behavior
Read only
Yes

Does not modify remote state.

Destructive
No

May delete or overwrite remote data.

Idempotent
Yes

Safe to retry without extra side effects.

Open world
Yes

Can call out to external systems.

List threads in the user's mailbox.

Parameters

ParameterTypeReq.Description
page_tokenstringOptionalPage token to retrieve a specific page of results in the list
max_resultsintegerOptionalThe maximum number of threads to return (Min {MIN_RESULTS}, Max {MAX_RESULTS})
include_spam_trashbooleanOptionalWhether to include spam and trash in the results

Requirements

No secrets required

Output

Type:jsonA dictionary containing a list of thread details
#

Gmail.ReplyToEmail

Execution hints

Signals for MCP clients and agents about how this tool behaves.

Operations
Create
Service domains
Email
MCP behavior
Read only
No

Does not modify remote state.

Destructive
No

May delete or overwrite remote data.

Idempotent
No

Safe to retry without extra side effects.

Open world
Yes

Can call out to external systems.

Send a reply to an email message.

Parameters

ParameterTypeReq.Description
bodystringRequiredThe body of the email
reply_to_message_idstringRequiredThe ID of the message to reply to
reply_to_whomstringOptionalWhether to reply to every recipient (including cc) or only to the original sender. Defaults to 'GmailReplyToWhom.ONLY_THE_SENDER'.
every_recipientonly_the_sender
bccarray<string>OptionalBCC recipients of the email
content_typestringOptionalThe content type of the email body. Defaults to 'plain'
plainhtml

Requirements

No secrets required

Output

Type:jsonA dictionary containing the sent email details with date in descriptive UTC format
#

Gmail.SearchThreads

Execution hints

Signals for MCP clients and agents about how this tool behaves.

Operations
Read
Service domains
Email
MCP behavior
Read only
Yes

Does not modify remote state.

Destructive
No

May delete or overwrite remote data.

Idempotent
Yes

Safe to retry without extra side effects.

Open world
Yes

Can call out to external systems.

Search for threads in the user's mailbox

Parameters

ParameterTypeReq.Description
page_tokenstringOptionalPage token to retrieve a specific page of results in the list
max_resultsintegerOptionalThe maximum number of threads to return (Min {MIN_RESULTS}, Max {MAX_RESULTS})
include_spam_trashbooleanOptionalWhether to include spam and trash in the results
label_idsarray<string>OptionalThe IDs of labels to filter by
senderstringOptionalThe name or email address of the sender of the email
recipientstringOptionalThe name or email address of the recipient
subjectstringOptionalWords to find in the subject of the email
bodystringOptionalWords to find in the body of the email
date_rangestringOptionalThe date range of the email
todayyesterdaylast_7_dayslast_30_daysthis_monthlast_monththis_year

Requirements

No secrets required

Output

Type:jsonA dictionary containing a list of thread details
#

Gmail.SendDraftEmail

Execution hints

Signals for MCP clients and agents about how this tool behaves.

Operations
Create
Service domains
Email
MCP behavior
Read only
No

Does not modify remote state.

Destructive
No

May delete or overwrite remote data.

Idempotent
No

Safe to retry without extra side effects.

Open world
Yes

Can call out to external systems.

Send a draft email using the Gmail API.

Parameters

ParameterTypeReq.Description
email_idstringRequiredThe ID of the draft to send

Requirements

No secrets required

Output

Type:jsonA dictionary containing the sent email details with date in descriptive UTC format
#

Gmail.SendEmail

Execution hints

Signals for MCP clients and agents about how this tool behaves.

Operations
Create
Service domains
Email
MCP behavior
Read only
No

Does not modify remote state.

Destructive
No

May delete or overwrite remote data.

Idempotent
No

Safe to retry without extra side effects.

Open world
Yes

Can call out to external systems.

Send an email using the Gmail API.

Parameters

ParameterTypeReq.Description
subjectstringRequiredThe subject of the email
bodystringRequiredThe body of the email
recipientstringRequiredThe recipient of the email
ccarray<string>OptionalCC recipients of the email
bccarray<string>OptionalBCC recipients of the email
content_typestringOptionalThe content type of the email body. Defaults to 'plain'
plainhtml

Requirements

No secrets required

Output

Type:jsonA dictionary containing the sent email details with date in descriptive UTC format
#

Gmail.TrashEmail

Execution hints

Signals for MCP clients and agents about how this tool behaves.

Operations
Delete
Service domains
Email
MCP behavior
Read only
No

Does not modify remote state.

Destructive
Yes

May delete or overwrite remote data.

Idempotent
Yes

Safe to retry without extra side effects.

Open world
Yes

Can call out to external systems.

Move an email to the trash folder using the Gmail API.

Parameters

ParameterTypeReq.Description
email_idstringRequiredThe ID of the email to trash

Requirements

No secrets required

Output

Type:jsonDetails of the trashed email with URL to view in Gmail trash folder
#

Gmail.UpdateDraftEmail

Execution hints

Signals for MCP clients and agents about how this tool behaves.

Operations
Update
Service domains
Email
MCP behavior
Read only
No

Does not modify remote state.

Destructive
No

May delete or overwrite remote data.

Idempotent
Yes

Safe to retry without extra side effects.

Open world
Yes

Can call out to external systems.

Update an existing email draft using the Gmail API.

Parameters

ParameterTypeReq.Description
draft_email_idstringRequiredThe ID of the draft email to update.
subjectstringRequiredThe subject of the draft email
bodystringRequiredThe body of the draft email
recipientstringRequiredThe recipient of the draft email
ccarray<string>OptionalCC recipients of the draft email
bccarray<string>OptionalBCC recipients of the draft email

Requirements

No secrets required

Output

Type:jsonA dictionary containing the updated draft email details with date in descriptive UTC format
#

Gmail.WhoAmI

Execution hints

Signals for MCP clients and agents about how this tool behaves.

Operations
Read
Service domains
Email
MCP behavior
Read only
Yes

Does not modify remote state.

Destructive
No

May delete or overwrite remote data.

Idempotent
Yes

Safe to retry without extra side effects.

Open world
Yes

Can call out to external systems.

Get comprehensive user profile and Gmail account information. This tool provides detailed information about the authenticated user including their name, email, profile picture, Gmail account statistics, and other important profile details from Google services.

Parameters

No parameters required.

Requirements

No secrets required

Output

Type:jsonGet comprehensive user profile and Gmail account information.
#

Gmail.WriteDraftEmail

Execution hints

Signals for MCP clients and agents about how this tool behaves.

Operations
Create
Service domains
Email
MCP behavior
Read only
No

Does not modify remote state.

Destructive
No

May delete or overwrite remote data.

Idempotent
No

Safe to retry without extra side effects.

Open world
Yes

Can call out to external systems.

Compose a new email draft using the Gmail API.

Parameters

ParameterTypeReq.Description
subjectstringRequiredThe subject of the draft email
bodystringRequiredThe body of the draft email
recipientstringRequiredThe recipient of the draft email
ccarray<string>OptionalCC recipients of the draft email
bccarray<string>OptionalBCC recipients of the draft email
content_typestringOptionalThe content type of the email body. Defaults to 'plain'
plainhtml

Requirements

No secrets required

Output

Type:jsonA dictionary containing the created draft email details with date in descriptive UTC format
#

Gmail.WriteDraftReplyEmail

Execution hints

Signals for MCP clients and agents about how this tool behaves.

Operations
Create
Service domains
Email
MCP behavior
Read only
No

Does not modify remote state.

Destructive
No

May delete or overwrite remote data.

Idempotent
No

Safe to retry without extra side effects.

Open world
Yes

Can call out to external systems.

Compose a draft reply to an email message.

Parameters

ParameterTypeReq.Description
bodystringRequiredThe body of the draft reply email
reply_to_message_idstringRequiredThe Gmail message ID of the message to draft a reply to
reply_to_whomstringOptionalWhether to reply to every recipient (including cc) or only to the original sender. Defaults to 'GmailReplyToWhom.ONLY_THE_SENDER'.
every_recipientonly_the_sender
bccarray<string>OptionalBCC recipients of the draft reply email
content_typestringOptionalThe content type of the email body. Defaults to 'plain'
plainhtml

Requirements

No secrets required

Output

Type:jsonA dictionary containing draft reply email details with dates in descriptive UTC format
Last updated on