LAP Registry

Gmail API Skill

gmail

Provider: Google Workspace Version: v1 Endpoints: 79 Updated: 2026-04-02

Raw .lap | Lean format | API JSON | Open in app

Endpoints

MethodPathDescription
GET/gmail/v1/users/{userId}/drafts
POST/gmail/v1/users/{userId}/draftsLists the drafts in the user's mailbox.
POST/gmail/v1/users/{userId}/drafts/sendCreates 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}/historyReplaces a draft's content.
GET/gmail/v1/users/{userId}/labelsLists the history of all changes to the given mailbox. History results are returned in chronological order (increasing `historyId`).
POST/gmail/v1/users/{userId}/labelsLists 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}/messagesUpdates the specified label.
POST/gmail/v1/users/{userId}/messagesLists the messages in the user's mailbox.
POST/gmail/v1/users/{userId}/messages/batchDeleteDirectly 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/batchModifyDeletes 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/importModifies the labels on the specified messages.
POST/gmail/v1/users/{userId}/messages/sendImports 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}/modifyGets the specified message.
POST/gmail/v1/users/{userId}/messages/{id}/trashModifies the labels on the specified message.
POST/gmail/v1/users/{userId}/messages/{id}/untrashMoves 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}/profileGets the specified message attachment.
GET/gmail/v1/users/{userId}/settings/autoForwardingGets the current user's Gmail profile.
PUT/gmail/v1/users/{userId}/settings/autoForwardingGets the auto-forwarding setting for the specified account.
GET/gmail/v1/users/{userId}/settings/cse/identitiesUpdates 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/identitiesLists the client-side encrypted identities for an authenticated user.

Install as Skill

Use this API as a Claude Code skill for instant agent access.

CLI Install

lapsh skill-install gmail

Downloads and installs to ~/.claude/skills/gmail/

Manual Install

Download: Skill Bundle (JSON)

Or view: SKILL.md

Recent Versions (1)