Gmail

From aws-samples/sample-strands-agent-with-agentcore · View interactive version

Gmail is an AI agent skill from the GitHub repository aws-samples/sample-strands-agent-with-agentcore. Read, send, draft, delete, and organize Gmail emails

How to use this skill

Skill file

Gmail

Available Tools

Usage Guidelines

TRASH, SPAM, STARRED, and IMPORTANT. Use list_labels only when the user

asks for a custom label or the label name is unknown.

Common Operations

Label operations via modify_email:

| Operation | Parameters |

|-----------|-----------|

| Mark as read | remove_labels="UNREAD" |

| Mark as unread | add_labels="UNREAD" |

| Archive | remove_labels="INBOX" |

| Star | add_labels="STARRED" |

| Unstar | remove_labels="STARRED" |

| Mark important | add_labels="IMPORTANT" |

Bulk Deletion

bulk_delete_emails(query, reason) permanently deletes all emails matching a Gmail query. This cannot be undone.

Common queries:

UI Guidance (from tools-config)

Gmail Tool Usage:

Bulk Deletion (bulk_delete_emails):

Common Operations:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.