Gmail
Communication

Gmail Connector

Connect to Gmail to read, send, and manage emails.

$pip install "toolsconnector[gmail]"
66
Actions
Communication
Category
Free
Apache 2.0

All 66 Actions

Action Description Parameters Returns
batch_delete ⚠Batch delete messages permanentlyemail_idsNoneType
batch_modifyBatch modify labels on multiple emailsemail_ids  [add_labels, remove_labels]NoneType
create_delegate ⚠Add a mailbox delegatedelegate_emailDelegate
create_draftCreate a draft emailto, subject, body  [html_body, attachments, cc, bcc, reply_to, headers]DraftId
create_filter ⚠Create a new filtercriteria, actionFilter
create_forwarding_address ⚠Add a forwarding address (pending verification)forwarding_emailForwardingAddress
create_labelCreate a new labelname  [label_color]Label
create_send_as ⚠Create a send-as aliassend_as_email  [display_name, reply_to_address, signature, treat_as_alias]SendAs
delete_delegate ⚠Remove a mailbox delegatedelegate_emailNoneType
delete_draft ⚠Delete a draftdraft_idNoneType
delete_email ⚠Delete an emailemail_idNoneType
delete_filter ⚠Delete a filterfilter_idNoneType
delete_forwarding_address ⚠Remove a forwarding addressforwarding_emailNoneType
delete_label ⚠Delete a labellabel_idNoneType
delete_send_as ⚠Delete a send-as aliassend_as_emailNoneType
delete_thread ⚠Permanently delete a threadthread_idNoneType
get_attachmentDownload an email attachmentemail_id, attachment_idAttachment
get_auto_forwardingGet auto-forwarding settingsAutoForwarding
get_delegateGet a delegate by emaildelegate_emailDelegate
get_draftGet a single draft by IDdraft_id  [format]Draft
get_emailGet a single email by IDemail_id  [format]Email
get_filterGet a single filter by IDfilter_idFilter
get_forwarding_addressGet a forwarding addressforwarding_emailForwardingAddress
get_imap_settingsGet IMAP settingsImapSettings
get_labelGet a single label by IDlabel_idLabel
get_languageGet language settingsLanguageSettings
get_pop_settingsGet POP settingsPopSettings
get_profileGet user profileUserProfile
get_send_asGet a single send-as aliassend_as_emailSendAs
get_threadGet a single thread by IDthread_id  [format]Thread
get_vacation_settingsGet vacation auto-reply settingsVacationSettings
import_message ⚠Import an email message into the mailboxraw_rfc2822  [label_ids, internal_date_source]MessageId
insert_message ⚠Insert an email message directly into the mailboxraw_rfc2822  [label_ids, internal_date_source]MessageId
list_delegatesList mailbox delegateslist
list_draftsList drafts[limit, page_token]PaginatedList[Draft]
list_emailsList emails matching a query[query, limit, labels, page_token]PaginatedList[Email]
list_filtersList all filterslist
list_forwarding_addressesList forwarding addresseslist
list_historyList mailbox historystart_history_id  [label_id, history_types, limit, page_token]PaginatedList[HistoryRecord]
list_labelsList all labelslist
list_send_asList send-as aliaseslist
list_threadsList email threads[query, limit, page_token]PaginatedList[Thread]
mark_as_readMark an email as reademail_idEmail
mark_as_unreadMark an email as unreademail_idEmail
modify_labelsModify email labelsemail_id  [add_labels, remove_labels]Email
modify_threadModify thread labelsthread_id  [add_labels, remove_labels]Thread
search_emailsSearch emails with advanced queryquery  [limit, page_token]PaginatedList[Email]
send_draft ⚠Send a draftdraft_idMessageId
send_email ⚠Send an emailto, subject, body  [html_body, attachments, cc, bcc, reply_to, headers]MessageId
star_emailStar an emailemail_idEmail
stopStop push notificationsNoneType
trash_emailMove an email to trashemail_idEmail
trash_threadMove a thread to trashthread_idThread
unstar_emailRemove star from an emailemail_idEmail
untrash_emailRemove an email from trashemail_idEmail
untrash_threadRemove a thread from trashthread_idThread
update_auto_forwarding ⚠Update auto-forwarding settingsenabled  [email_address, disposition]AutoForwarding
update_draftUpdate a draftdraft_id, to, subject, body  [html_body, attachments, cc, bcc, reply_to, headers]Draft
update_imap_settings ⚠Update IMAP settingsenabled  [auto_expunge, expunge_behavior, max_folder_size]ImapSettings
update_labelUpdate a labellabel_id  [name, label_color]Label
update_languageUpdate language settingsdisplay_languageLanguageSettings
update_pop_settings ⚠Update POP settings[access_window, disposition]PopSettings
update_send_asUpdate a send-as aliassend_as_email  [display_name, reply_to_address, signature, is_default, treat_as_alias]SendAs
update_vacation_settings ⚠Update vacation auto-reply settingsenable  [response_subject, response_body, start_time, end_time]VacationSettings
verify_send_asRe-send verification for a pending send-assend_as_emailNoneType
watch ⚠Start receiving mailbox-change push notificationstopic_name  [label_ids, label_filter_behavior]dict
Open Interactive Docs & Playground →

Full schema explorer, code generation, and live API testing