Automate Gmail
HumDay reads Gmail’s own published API description and derives 79 operations from it. Describe the outcome you want in plain words — you get a program that is written, proven on real data, and run for you.
What Gmail is
The Gmail API lets you view and manage Gmail mailbox data like threads, messages, and labels.
API host: gmail.googleapis.com
Things people automate with Gmail
- Send a receipt email with Gmail when a payment lands in StripeStripe → Gmail
- Send a receipt email with Gmail when a payment lands in PayPalPayPal → Gmail
- Email customers from Gmail when a Jumpseller order landsJumpseller → Gmail
- Email customers from Gmail when a Magento order landsMagento → Gmail
- Email customers from Gmail when a Walmart order landsWalmart → Gmail
- Email customers from Gmail when an eBay order landseBay → Gmail
- Email customers from Gmail when a Billbee order landsBillbee → Gmail
- Get a Gmail email for every Google Forms responseGoogle Forms → Gmail
- Send a welcome email from Gmail when a contact joins PipedrivePipedrive → Gmail
What HumDay can do in Gmail
49 documented operations change something in Gmail.
- POSTDirectly inserts a message into only this user's mailbox similar to IMAP APPEND, bypassing most scanning and classification.
/gmail/v1/users/{userId}/messages - POSTSends the specified message to the recipients in the To, Cc, and Bcc headers.
/gmail/v1/users/{userId}/messages/send - POSTImports a message into only this user's mailbox, with standard email delivery scanning and classification similar to receiving via SMTP.
/gmail/v1/users/{userId}/messages/import - POSTCreates and configures a client-side encryption identity that's authorized to send mail from the user account.
/gmail/v1/users/{userId}/settings/cse/identities - POSTSet up or update a push notification watch on the given user mailbox.
/gmail/v1/users/{userId}/watch - POSTCreates a new draft with the DRAFT label.
/gmail/v1/users/{userId}/drafts - POSTCreates a new label.
/gmail/v1/users/{userId}/labels - POSTSends the specified, existing draft to the recipients in the To, Cc, and Bcc headers.
/gmail/v1/users/{userId}/drafts/send - POSTCreates a custom "from" send-as alias.
/gmail/v1/users/{userId}/settings/sendAs - POSTCreates a filter. Note: you can only create a maximum of 1,000 filters.
/gmail/v1/users/{userId}/settings/filters - POSTAdds a delegate with its verification status set directly to accepted, without sending any verification email.
/gmail/v1/users/{userId}/settings/delegates - POSTDeletes many messages by message ID.
/gmail/v1/users/{userId}/messages/batchDelete - DELETEImmediately and permanently deletes the specified message.
/gmail/v1/users/{userId}/messages/{id} - POSTSends a verification email to the specified send-as alias address.
/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/verify - POSTCreates and uploads a client-side encryption S/MIME public key certificate chain and private key metadata for the authenticated user.
/gmail/v1/users/{userId}/settings/cse/keypairs - POSTStop receiving push notifications for the given user mailbox.
/gmail/v1/users/{userId}/stop - POSTMoves the specified message to the trash.
/gmail/v1/users/{userId}/messages/{id}/trash - POSTModifies the labels on the specified message.
/gmail/v1/users/{userId}/messages/{id}/modify - POSTRemoves the specified message from the trash.
/gmail/v1/users/{userId}/messages/{id}/untrash - POSTModifies the labels on the specified messages.
/gmail/v1/users/{userId}/messages/batchModify - DELETEImmediately and permanently deletes the specified label and removes it from any messages and threads that it is applied to.
/gmail/v1/users/{userId}/labels/{id} - POSTCreates a forwarding address.
/gmail/v1/users/{userId}/settings/forwardingAddresses - POSTInsert (upload) the given S/MIME config for the specified send-as alias.
/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo - DELETEDeletes the specified send-as alias.
/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail} - PATCHPatch the specified send-as alias.
/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail} - PUTUpdates a send-as alias.
/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail} - PUTUpdates POP settings.
/gmail/v1/users/{userId}/settings/pop - PUTUpdates IMAP settings.
/gmail/v1/users/{userId}/settings/imap - PUTUpdates language settings.
/gmail/v1/users/{userId}/settings/language - PUTUpdates vacation responder settings.
/gmail/v1/users/{userId}/settings/vacation - PUTUpdates the auto-forwarding setting for the specified account.
/gmail/v1/users/{userId}/settings/autoForwarding - DELETEImmediately and permanently deletes the specified draft.
/gmail/v1/users/{userId}/drafts/{id} - PUTReplaces a draft's content.
/gmail/v1/users/{userId}/drafts/{id} - PATCHPatch the specified label.
/gmail/v1/users/{userId}/labels/{id} - PUTUpdates the specified label.
/gmail/v1/users/{userId}/labels/{id} - DELETEImmediately and permanently deletes the specified thread.
/gmail/v1/users/{userId}/threads/{id} - POSTMoves the specified thread to the trash.
/gmail/v1/users/{userId}/threads/{id}/trash - POSTModifies the labels applied to the thread.
/gmail/v1/users/{userId}/threads/{id}/modify - POSTRemoves the specified thread from the trash.
/gmail/v1/users/{userId}/threads/{id}/untrash - DELETEImmediately and permanently deletes the specified filter.
/gmail/v1/users/{userId}/settings/filters/{id} - DELETERemoves the specified delegate (which can be of any verification status), and revokes any verification that may have been required for using it.
/gmail/v1/users/{userId}/settings/delegates/{delegateEmail} - DELETEDeletes the specified S/MIME config for the specified send-as alias.
/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id} - DELETEDeletes the specified forwarding address and revokes any verification that may have been required.
/gmail/v1/users/{userId}/settings/forwardingAddresses/{forwardingEmail} - PATCHAssociates a different key pair with an existing client-side encryption identity.
/gmail/v1/users/{userId}/settings/cse/identities/{emailAddress} - POSTTurns on a client-side encryption key pair that was turned off.
/gmail/v1/users/{userId}/settings/cse/keypairs/{keyPairId}:enable - DELETEDeletes a client-side encryption identity.
/gmail/v1/users/{userId}/settings/cse/identities/{cseEmailAddress} - POSTTurns off a client-side encryption key pair.
/gmail/v1/users/{userId}/settings/cse/keypairs/{keyPairId}:disable - POSTDeletes a client-side encryption key pair permanently and immediately.
/gmail/v1/users/{userId}/settings/cse/keypairs/{keyPairId}:obliterate - POSTSets the default S/MIME config for the specified send-as alias.
/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}/setDefault
What HumDay can read from Gmail
These are the operations a schedule or a trigger can watch.
- GETLists the messages in the user's mailbox.
/gmail/v1/users/{userId}/messages - GETLists the message filters of a Gmail user.
/gmail/v1/users/{userId}/settings/filters - GETGets the specified message.
/gmail/v1/users/{userId}/messages/{id} - GETLists the drafts in the user's mailbox.
/gmail/v1/users/{userId}/drafts - GETLists all labels in the user's mailbox.
/gmail/v1/users/{userId}/labels - GETGets the current user's Gmail profile.
/gmail/v1/users/{userId}/profile - GETLists the threads in the user's mailbox.
/gmail/v1/users/{userId}/threads - GETLists the send-as aliases for the specified account.
/gmail/v1/users/{userId}/settings/sendAs - GETLists client-side encryption key pairs for an authenticated user.
/gmail/v1/users/{userId}/settings/cse/keypairs - GETLists the client-side encrypted identities for an authenticated user.
/gmail/v1/users/{userId}/settings/cse/identities - GETLists the history of all changes to the given mailbox.
/gmail/v1/users/{userId}/history - GETGets the specified message attachment.
/gmail/v1/users/{userId}/messages/{messageId}/attachments/{id} - GETGets the specified send-as alias.
/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail} - GETGets POP settings.
/gmail/v1/users/{userId}/settings/pop - GETGets IMAP settings.
/gmail/v1/users/{userId}/settings/imap - GETGets language settings.
/gmail/v1/users/{userId}/settings/language - GETGets vacation responder settings.
/gmail/v1/users/{userId}/settings/vacation - GETLists the delegates for the specified account.
/gmail/v1/users/{userId}/settings/delegates - GETGets the auto-forwarding setting for the specified account.
/gmail/v1/users/{userId}/settings/autoForwarding - GETGets the specified draft.
/gmail/v1/users/{userId}/drafts/{id} - GETGets the specified label.
/gmail/v1/users/{userId}/labels/{id} - GETGets the specified thread.
/gmail/v1/users/{userId}/threads/{id} - GETLists the forwarding addresses for the specified account.
/gmail/v1/users/{userId}/settings/forwardingAddresses - GETLists S/MIME configs for the specified send-as alias.
/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo - GETGets a filter.
/gmail/v1/users/{userId}/settings/filters/{id} - GETGets the specified delegate.
/gmail/v1/users/{userId}/settings/delegates/{delegateEmail} - GETGets the specified S/MIME config for the specified send-as alias.
/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id} - GETGets the specified forwarding address.
/gmail/v1/users/{userId}/settings/forwardingAddresses/{forwardingEmail} - GETRetrieves an existing client-side encryption key pair.
/gmail/v1/users/{userId}/settings/cse/keypairs/{keyPairId} - GETRetrieves a client-side encryption identity configuration.
/gmail/v1/users/{userId}/settings/cse/identities/{cseEmailAddress}
How automating Gmail works
- Describe the outcome. Say what you want to happen, in your own words. No node graphs, no field mapping.
- Approve the contract. HumDay writes down exactly what it will do, what it will touch, and what it will never do. You approve it before anything is built.
- See it proven. The program runs and shows you the result before it is allowed near your live Gmail account.
- Grant access, then go live. You approve the specific Gmail operations it may use — and only those.
Popular Gmail integrations
Connect Gmail to the tools people pair it with most.
- Gmail and OData for namespace microsoft.graphintegration
- Gmail and Cloudflareintegration
- Gmail and NetBoxintegration
- Gmail and GitHubintegration
- Gmail and Mistintegration
- Gmail and Loket.nlintegration
- Gmail and Atlassian The Jira Cloud platformintegration
- Gmail and Magento B2Bintegration
- Gmail and Stripeintegration
- Gmail and Zuora Reference Billingintegration
- Gmail and bunqintegration
- Gmail and DocuSignintegration
Automate Gmail with these
- Google+9 operations
- Google Abusive Experience Report2 operations
- Google Accelerated Mobile Pages (AMP) URL1 operations
- Google Access Approval7 operations
- Google Access Context Manager9 operations
- Google ACME DNS2 operations
- Google Ad Exchange Buyer38 operations
- Google Ad Exchange Buyer II50 operations
- Google Ad Experience Report2 operations
- Google Admin SDK122 operations
- Google AdMob7 operations
- Google AdSense Host26 operations
Categories
Questions about Gmail automation
- Can HumDay connect to Gmail?
- Yes. HumDay reads Gmail's own published API description and derives the operations from it, so there is no hand-built connector to wait for. 79 operations are documented.
- Do I need to write code to automate Gmail?
- No. You describe the outcome you want in plain words. HumDay agrees a contract with you, writes the program, and shows you a test run before anything touches your Gmail account.
- What can HumDay do in Gmail?
- 49 of the 79 documented operations change something in Gmail, and 30 read from it. HumDay only ever uses the specific operations your approved contract needs.
- Is my Gmail account safe?
- Your credentials are stored encrypted and are never shown in chat, code, or logs. Every run is limited to the operations you explicitly approved, and anything that writes to Gmail is held behind that approval.
Where this came from
The operations above are read from a published API description for Gmail at gmail.googleapis.com/$discovery/rest?version=v1. Descriptions are the provider’s own words, not ours. Last published 2023-04-21.