Gmail API Skill
gmail
gmail
| Method | Path | Description |
|---|---|---|
GET | /gmail/v1/users/{userId}/drafts | |
POST | /gmail/v1/users/{userId}/drafts | Lists the drafts in the user's mailbox. |
POST | /gmail/v1/users/{userId}/drafts/send | Creates a new draft with the `DRAFT` label. |
DELETE | /gmail/v1/users/{userId}/drafts/{id} | Sends the specified, existing draft to the recipients in the `To`, `Cc`, and `Bcc` headers. |
GET | /gmail/v1/users/{userId}/drafts/{id} | Immediately and permanently deletes the specified draft. Does not simply trash it. |
PUT | /gmail/v1/users/{userId}/drafts/{id} | Gets the specified draft. |
GET | /gmail/v1/users/{userId}/history | Replaces a draft's content. |
GET | /gmail/v1/users/{userId}/labels | Lists the history of all changes to the given mailbox. History results are returned in chronological order (increasing `historyId`). |
POST | /gmail/v1/users/{userId}/labels | Lists all labels in the user's mailbox. |
DELETE | /gmail/v1/users/{userId}/labels/{id} | Creates a new label. |
GET | /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. |
PATCH | /gmail/v1/users/{userId}/labels/{id} | Gets the specified label. |
PUT | /gmail/v1/users/{userId}/labels/{id} | Patch the specified label. |
GET | /gmail/v1/users/{userId}/messages | Updates the specified label. |
POST | /gmail/v1/users/{userId}/messages | Lists the messages in the user's mailbox. |
POST | /gmail/v1/users/{userId}/messages/batchDelete | Directly inserts a message into only this user's mailbox similar to `IMAP APPEND`, bypassing most scanning and classification. Does not send a message. |
POST | /gmail/v1/users/{userId}/messages/batchModify | Deletes many messages by message ID. Provides no guarantees that messages were not already deleted or even existed at all. |
POST | /gmail/v1/users/{userId}/messages/import | Modifies the labels on the specified messages. |
POST | /gmail/v1/users/{userId}/messages/send | Imports 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... |
DELETE | /gmail/v1/users/{userId}/messages/{id} | Sends 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). |
GET | /gmail/v1/users/{userId}/messages/{id} | Immediately and permanently deletes the specified message. This operation cannot be undone. Prefer `messages.trash` instead. |
POST | /gmail/v1/users/{userId}/messages/{id}/modify | Gets the specified message. |
POST | /gmail/v1/users/{userId}/messages/{id}/trash | Modifies the labels on the specified message. |
POST | /gmail/v1/users/{userId}/messages/{id}/untrash | Moves the specified message to the trash. |
GET | /gmail/v1/users/{userId}/messages/{messageId}/attachments/{id} | Removes the specified message from the trash. |
GET | /gmail/v1/users/{userId}/profile | Gets the specified message attachment. |
GET | /gmail/v1/users/{userId}/settings/autoForwarding | Gets the current user's Gmail profile. |
PUT | /gmail/v1/users/{userId}/settings/autoForwarding | Gets the auto-forwarding setting for the specified account. |
GET | /gmail/v1/users/{userId}/settings/cse/identities | Updates the auto-forwarding setting for the specified account. A verified forwarding address must be specified when auto-forwarding is enabled. This method is only available to se... |
POST | /gmail/v1/users/{userId}/settings/cse/identities | Lists the client-side encrypted identities for an authenticated user. |
Use this API as a Claude Code skill for instant agent access.
lapsh skill-install gmail
Downloads and installs to ~/.claude/skills/gmail/
v1 (2026-02-13)