younifyd
Menu

Gmail actions

Pick an action to see its parameters, request body and response fields.

32 actions

users · 32

POSTGmail.users.drafts.create/gmail/v1/users/{userId}/draftsCreates a new draft with the `DRAFT` label.DELETEGmail.users.drafts.delete/gmail/v1/users/{userId}/drafts/{id}Immediately and permanently deletes the specified draft. Does not simply trash it.GETGmail.users.drafts.get/gmail/v1/users/{userId}/drafts/{id}Gets the specified draft.GETGmail.users.drafts.list/gmail/v1/users/{userId}/draftsLists the drafts in the user's mailbox.POSTGmail.users.drafts.send/gmail/v1/users/{userId}/drafts/sendSends the specified, existing draft to the recipients in the `To`, `Cc`, and `Bcc` headers.PUTGmail.users.drafts.update/gmail/v1/users/{userId}/drafts/{id}Replaces a draft's content.GETGmail.users.get Profile/gmail/v1/users/{userId}/profileGets the current user's Gmail profile.GETGmail.users.history.list/gmail/v1/users/{userId}/historyLists the history of all changes to the given mailbox. History results are returned in chronological order (increasing `historyId`).POSTGmail.users.labels.create/gmail/v1/users/{userId}/labelsCreates a new label.DELETEGmail.users.labels.delete/gmail/v1/users/{userId}/labels/{id}Immediately and permanently deletes the specified label and removes it from any messages and threads that it is applied to.GETGmail.users.labels.get/gmail/v1/users/{userId}/labels/{id}Gets the specified label.GETGmail.users.labels.list/gmail/v1/users/{userId}/labelsLists all labels in the user's mailbox.PATCHGmail.users.labels.patch/gmail/v1/users/{userId}/labels/{id}Patch the specified label.PUTGmail.users.labels.update/gmail/v1/users/{userId}/labels/{id}Updates the specified label.GETGmail.users.messages.attachments.get/gmail/v1/users/{userId}/messages/{messageId}/attachments/{id}Gets the specified message attachment.POSTGmail.users.messages.batch Delete/gmail/v1/users/{userId}/messages/batchDeleteDeletes many messages by message ID. Provides no guarantees that messages were not already deleted or even existed at all.POSTGmail.users.messages.batch Modify/gmail/v1/users/{userId}/messages/batchModifyModifies the labels on the specified messages.DELETEGmail.users.messages.delete/gmail/v1/users/{userId}/messages/{id}Immediately and permanently deletes the specified message. This operation cannot be undone. Prefer `messages.trash` instead.GETGmail.users.messages.get/gmail/v1/users/{userId}/messages/{id}Gets the specified message.POSTGmail.users.messages.import/gmail/v1/users/{userId}/messages/importImports a message into only this user's mailbox, with standard email delivery scanning and classification similar to receiving via SMTP. This method doesn't perform SPF checks, so it might not work for some spam messages, such as those attempting to perform domain spoofing. This method does not send a message. Note: This function doesn't trigger forwarding rules or filters set up by the user.POSTGmail.users.messages.insert/gmail/v1/users/{userId}/messagesDirectly inserts a message into only this user's mailbox similar to `IMAP APPEND`, bypassing most scanning and classification. Does not send a message.GETGmail.users.messages.list/gmail/v1/users/{userId}/messagesLists the messages in the user's mailbox.POSTGmail.users.messages.modify/gmail/v1/users/{userId}/messages/{id}/modifyModifies the labels on the specified message.POSTGmail.users.messages.send/gmail/v1/users/{userId}/messages/sendSends the specified message to the recipients in the `To`, `Cc`, and `Bcc` headers. For example usage, see [Sending email](https://developers.google.com/gmail/api/guides/sending).POSTGmail.users.messages.trash/gmail/v1/users/{userId}/messages/{id}/trashMoves the specified message to the trash.POSTGmail.users.messages.untrash/gmail/v1/users/{userId}/messages/{id}/untrashRemoves the specified message from the trash.DELETEGmail.users.threads.delete/gmail/v1/users/{userId}/threads/{id}Immediately and permanently deletes the specified thread. Any messages that belong to the thread are also deleted. This operation cannot be undone. Prefer `threads.trash` instead.GETGmail.users.threads.get/gmail/v1/users/{userId}/threads/{id}Gets the specified thread.GETGmail.users.threads.list/gmail/v1/users/{userId}/threadsLists the threads in the user's mailbox.POSTGmail.users.threads.modify/gmail/v1/users/{userId}/threads/{id}/modifyModifies the labels applied to the thread. This applies to all messages in the thread.POSTGmail.users.threads.trash/gmail/v1/users/{userId}/threads/{id}/trashMoves the specified thread to the trash. Any messages that belong to the thread are also moved to the trash.POSTGmail.users.threads.untrash/gmail/v1/users/{userId}/threads/{id}/untrashRemoves the specified thread from the trash. Any messages that belong to the thread are also removed from the trash.
Gmail actions — Documentation