Versión2.0.0
Categoríagoogle
AutenticaciónOAuth 2
Herramientas19
Transportestdio
LicenciaMIT
01
Qué hace
La aplicación, en sus propias palabras.
Gmail email management — send, read, search, label, and filter emails via Google Gmail API.
02
Herramientas
19 herramientas que el agente puede llamar.
Todas se declaran con parámetros tipados y devuelven resultados estructurados, así que el anfitrión puede renderizarlas en vez de narrarlas.
- create-draftCreate a draft email message.
- create-filterCreate a new Gmail filter to automatically organize emails.
- create-labelCreate a new Gmail label.
- delete-draftDelete a draft email by its draft ID.
- delete-filterDelete a Gmail filter by its ID.
- delete-labelDelete a Gmail label. This does NOT delete the emails with this label.
- get-attachmentGet the content of an email attachment by its attachment ID.
- get-messageGet full details of a specific email message by ID.
- list-draftsList all draft emails in the account.
- list-filtersList all Gmail filters for the account.
- list-labelsList all Gmail labels (both system and custom labels) for the account.
- list-messagesList email messages from inbox or specific labels. Supports filtering by unread, starred, etc.
- modify-labelsAdd or remove labels from a message (e.g., mark as read/unread, archive, star).
- reply-messageReply to an existing email message.
- search-messagesSearch for email messages using Gmail's search syntax.
- send-messageSend an email message from the specified account.
- store-attachmentDownload and store an email attachment to the local filesystem.
- update-draftUpdate an existing draft email by replacing its content.
- update-labelUpdate an existing Gmail label (name, colors, visibility).
03
Autenticación y permisos
Qué pide.
Declarado en el manifiesto y por adelantado. La aplicación no puede alcanzar nada que no haya pedido aquí.
Permisos
https://www.googleapis.com/auth/gmail.readonlyhttps://www.googleapis.com/auth/gmail.sendhttps://www.googleapis.com/auth/gmail.modifyhttps://www.googleapis.com/auth/userinfo.email
Secretos de sistema
CLIENT_IDCLIENT_SECRETREDIRECT_URI
Secretos de usuario
ACCESS_TOKENREFRESH_TOKENEMAILEXPIRY_DATE
Seguir leyendo
El manifiesto y el código de Gmail están en el monorepo, junto al resto de aplicaciones.