[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BY39Y8FSJWE5BFSRYWJ5JR":3,"skill-same:01M7BY39Y8FSJWE5BFSRYWJ5JR":51},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":33,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":35,"updatedAt":36,"install":37,"resources":50},"01M7BY39Y8FSJWE5BFSRYWJ5JR","sendgrid-automation",null,"Automate SendGrid email operations including sending emails, managing contacts\u002Flists, sender identities, templates, and analytics via Rube MCP (Composio). Always search tools first for current schemas.","YYC-Cube\u002FYYC3-Knowledge-Base","YYC-Cube","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F235006543?v=4","01M79J2PH4SWD2X0825X6PN748","yyc3","01M79J2PHVK3F6ZBYT8K2SCZCW",1,"MIT","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-all-skills\u002Fskills\u002Fsendgrid-automation\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: sendgrid-automation\ndescription: Automate SendGrid email operations including sending emails, managing contacts\u002Flists, sender identities, templates, and analytics via Rube MCP (Composio). Always search tools first for current schemas.\nrequires:\n  mcp: [rube]\ncategory: email\n---\n\n# SendGrid Automation via Rube MCP\n\nAutomate SendGrid email delivery workflows including marketing campaigns (Single Sends), contact and list management, sender identity setup, and email analytics through Composio's SendGrid toolkit.\n\n**Toolkit docs**: [composio.dev\u002Ftoolkits\u002Fsendgrid](https:\u002F\u002Fcomposio.dev\u002Ftoolkits\u002Fsendgrid)\n\n## Prerequisites\n\n- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)\n- Active SendGrid connection via `RUBE_MANAGE_CONNECTIONS` with toolkit `sendgrid`\n- Always call `RUBE_SEARCH_TOOLS` first to get current tool schemas\n\n## Setup\n\n**Get Rube MCP**: Add `https:\u002F\u002Frube.app\u002Fmcp` as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.\n\n\n1. Verify Rube MCP is available by confirming `RUBE_SEARCH_TOOLS` responds\n2. Call `RUBE_MANAGE_CONNECTIONS` with toolkit `sendgrid`\n3. If connection is not ACTIVE, follow the returned auth link to complete SendGrid API key authentication\n4. Confirm connection status shows ACTIVE before running any workflows\n\n## Core Workflows\n\n### 1. Create and Send Marketing Campaigns (Single Sends)\n\n**When to use**: User wants to create and send a marketing email campaign to a contact list or segment.\n\n**Tool sequence**:\n1. `SENDGRID_RETRIEVE_ALL_LISTS` - List available marketing lists to target [Prerequisite]\n2. `SENDGRID_CREATE_A_LIST` - Create a new list if needed [Optional]\n3. `SENDGRID_ADD_OR_UPDATE_A_CONTACT` - Add contacts to the list [Optional]\n4. `SENDGRID_GET_ALL_SENDER_IDENTITIES` - Get verified sender ID [Prerequisite]\n5. `SENDGRID_CREATE_SINGLE_SEND` - Create the campaign with content, sender, and recipients [Required]\n\n**Key parameters for SENDGRID_CREATE_SINGLE_SEND**:\n- `name`: Campaign name (required)\n- `email__config__subject`: Email subject line\n- `email__config__html__content`: HTML body content\n- `email__config__plain__content`: Plain text version\n- `email__config__sender__id`: Verified sender identity ID\n- `email__config__design__id`: Use instead of html_content for pre-built designs\n- `send__to__list__ids`: Array of list UUIDs to send to\n- `send__to__segment__ids`: Array of segment UUIDs\n- `send__to__all`: true to send to all contacts\n- `email__config__suppression__group__id` or `email__config__custom__unsubscribe__url`: One required for compliance\n\n**Pitfalls**:\n- Setting `send_at` on CREATE does NOT schedule the send; it only prepopulates the UI date; use the Schedule endpoint separately\n- `send_at: \"now\"` is only valid with the Schedule endpoint, not CREATE\n- Must provide either `suppression_group_id` or `custom_unsubscribe_url` for unsubscribe compliance\n- Sender must be verified before use; check with `SENDGRID_GET_ALL_SENDER_IDENTITIES`\n- Nested params use double-underscore notation (e.g., `email__config__subject`)\n\n### 2. Manage Contacts and Lists\n\n**When to use**: User wants to create contact lists, add\u002Fupdate contacts, search for contacts, or remove contacts from lists.\n\n**Tool sequence**:\n1. `SENDGRID_RETRIEVE_ALL_LISTS` - List all marketing lists [Required]\n2. `SENDGRID_CREATE_A_LIST` - Create a new contact list [Optional]\n3. `SENDGRID_GET_A_LIST_BY_ID` - Get list details and sample contacts [Optional]\n4. `SENDGRID_ADD_OR_UPDATE_A_CONTACT` - Upsert contacts with list association [Required]\n5. `SENDGRID_GET_CONTACTS_BY_EMAILS` - Look up contacts by email [Optional]\n6. `SENDGRID_GET_CONTACTS_BY_IDENTIFIERS` - Look up contacts by email, phone, or external ID [Optional]\n7. `SENDGRID_GET_LIST_CONTACT_COUNT` - Verify contact count after operations [Optional]\n8. `SENDGRID_REMOVE_CONTACTS_FROM_A_LIST` - Remove contacts from a list without deleting [Optional]\n9. `SENDGRID_REMOVE_LIST_AND_OPTIONAL_CONTACTS` - Delete an entire list [Optional]\n10. `SENDGRID_IMPORT_CONTACTS` - Bulk import from CSV [Optional]\n\n**Key parameters for SENDGRID_ADD_OR_UPDATE_A_CONTACT**:\n- `contacts`: Array of contact objects (max 30,000 or 6MB), each with at least one identifier: `email`, `phone_number_id`, `external_id`, or `anonymous_id` (required)\n- `list_ids`: Array of list UUID strings to associate contacts with\n\n**Pitfalls**:\n- `SENDGRID_ADD_OR_UPDATE_A_CONTACT` is asynchronous; returns 202 with `job_id`; contacts may take 10-30 seconds to appear\n- List IDs are UUIDs (e.g., \"ca7a3796-e8a8-4029-9ccb-df8937940562\"), not integers\n- List names must be unique; duplicate names cause 400 errors\n- `SENDGRID_ADD_A_SINGLE_RECIPIENT_TO_A_LIST` uses the legacy API; prefer `SENDGRID_ADD_OR_UPDATE_A_CONTACT` with `list_ids`\n- `SENDGRID_REMOVE_LIST_AND_OPTIONAL_CONTACTS` is irreversible; require explicit user confirmation\n- Email addresses are automatically lowercased by SendGrid\n\n### 3. Manage Sender Identities\n\n**When to use**: User wants to set up or view sender identities (From addresses) for sending emails.\n\n**Tool sequence**:\n1. `SENDGRID_GET_ALL_SENDER_IDENTITIES` - List all existing sender identities [Required]\n2. `SENDGRID_CREATE_A_SENDER_IDENTITY` - Create a new sender identity [Optional]\n3. `SENDGRID_VIEW_A_SENDER_IDENTITY` - View details for a specific sender [Optional]\n4. `SENDGRID_UPDATE_A_SENDER_IDENTITY` - Update sender details [Optional]\n5. `SENDGRID_CREATE_VERIFIED_SENDER_REQUEST` - Create and verify a new sender [Optional]\n6. `SENDGRID_AUTHENTICATE_A_DOMAIN` - Set up domain authentication for auto-verification [Optional]\n\n**Key parameters for SENDGRID_CREATE_A_SENDER_IDENTITY**:\n- `from__email`: From email address (required)\n- `from__name`: Display name (required)\n- `reply__to__email`: Reply-to address (required)\n- `nickname`: Internal identifier (required)\n- `address`, `city`, `country`: Physical address for CAN-SPAM compliance (required)\n\n**Pitfalls**:\n- New senders must be verified before use; if domain is not authenticated, a verification email is sent\n- Up to 100 unique sender identities per account\n- Avoid using domains with strict DMARC policies (gmail.com, yahoo.com) as from addresses\n- `SENDGRID_CREATE_VERIFIED_SENDER_REQUEST` sends a verification email; sender is unusable until verified\n\n### 4. View Email Statistics and Activity\n\n**When to use**: User wants to review email delivery stats, bounce rates, open\u002Fclick metrics, or message activity.\n\n**Tool sequence**:\n1. `SENDGRID_RETRIEVE_GLOBAL_EMAIL_STATISTICS` - Get account-wide delivery metrics [Required]\n2. `SENDGRID_GET_ALL_CATEGORIES` - Discover available categories for filtering [Optional]\n3. `SENDGRID_RETRIEVE_EMAIL_STATISTICS_FOR_CATEGORIES` - Get stats broken down by category [Optional]\n4. `SENDGRID_FILTER_ALL_MESSAGES` - Search email activity feed by recipient, status, or date [Optional]\n5. `SENDGRID_FILTER_MESSAGES_BY_MESSAGE_ID` - Get detailed events for a specific message [Optional]\n6. `SENDGRID_REQUEST_CSV` - Export activity data as CSV for large datasets [Optional]\n7. `SENDGRID_DOWNLOAD_CSV` - Download the exported CSV file [Optional]\n\n**Key parameters for SENDGRID_RETRIEVE_GLOBAL_EMAIL_STATISTICS**:\n- `start_date`: Start date YYYY-MM-DD (required)\n- `end_date`: End date YYYY-MM-DD\n- `aggregated_by`: \"day\", \"week\", or \"month\"\n- `limit` \u002F `offset`: Pagination (default 500)\n\n**Key parameters for SENDGRID_FILTER_ALL_MESSAGES**:\n- `query`: SQL-like query string, e.g., `status=\"delivered\"`, `to_email=\"user@example.com\"`, date ranges with `BETWEEN TIMESTAMP`\n- `limit`: 1-1000 (default 10)\n\n**Pitfalls**:\n- `SENDGRID_FILTER_ALL_MESSAGES` requires the \"30 Days Additional Email Activity History\" paid add-on; returns 403 without it\n- Global statistics are nested under `details[].stats[0].metrics`, not a flat structure\n- Category statistics are only available for the previous 13 months\n- Maximum 10 categories per request in `SENDGRID_RETRIEVE_EMAIL_STATISTICS_FOR_CATEGORIES`\n- CSV export is limited to one request per 12 hours; link expires after 3 days\n\n### 5. Manage Suppressions\n\n**When to use**: User wants to check or manage unsubscribe groups for email compliance.\n\n**Tool sequence**:\n1. `SENDGRID_GET_SUPPRESSION_GROUPS` - List all suppression groups [Required]\n2. `SENDGRID_RETRIEVE_ALL_SUPPRESSION_GROUPS_FOR_AN_EMAIL_ADDRESS` - Check suppression status for a specific email [Optional]\n\n**Pitfalls**:\n- Suppressed addresses remain undeliverable even if present on marketing lists\n- Campaign send counts may be lower than list counts due to suppressions\n\n## Common Patterns\n\n### ID Resolution\nAlways resolve names to IDs before operations:\n- **List name -> list_id**: `SENDGRID_RETRIEVE_ALL_LISTS` and match by name\n- **Sender name -> sender_id**: `SENDGRID_GET_ALL_SENDER_IDENTITIES` and match\n- **Contact email -> contact_id**: `SENDGRID_GET_CONTACTS_BY_EMAILS` with email array\n- **Template name -> template_id**: Use the SendGrid UI or template endpoints\n\n### Pagination\n- `SENDGRID_RETRIEVE_ALL_LISTS`: Token-based with `page_token` and `page_size` (max 1000)\n- `SENDGRID_RETRIEVE_GLOBAL_EMAIL_STATISTICS`: Offset-based with `limit` (max 500) and `offset`\n- Always paginate list retrieval to avoid missing existing lists\n\n### Async Operations\nContact operations (`ADD_OR_UPDATE_A_CONTACT`, `IMPORT_CONTACTS`) are asynchronous:\n- Returns 202 with a `job_id`\n- Wait 10-30 seconds before verifying with `GET_CONTACTS_BY_EMAILS`\n- Use `GET_LIST_CONTACT_COUNT` to confirm list growth\n\n## Known Pitfalls\n\n### ID Formats\n- Marketing list IDs are UUIDs (e.g., \"ca7a3796-e8a8-4029-9ccb-df8937940562\")\n- Legacy list IDs are integers; do not mix with Marketing API endpoints\n- Sender identity IDs are integers\n- Template IDs: Dynamic templates start with \"d-\", legacy templates are UUIDs\n- Contact IDs are UUIDs\n\n### Rate Limits\n- SendGrid may return HTTP 429; respect `Retry-After` headers\n- CSV export limited to one request per 12 hours\n- Bulk contact upsert max: 30,000 contacts or 6MB per request\n\n### Parameter Quirks\n- Nested params use double-underscore: `email__config__subject`, `from__email`\n- `send_at` on CREATE_SINGLE_SEND only sets a UI default, does NOT schedule\n- `SENDGRID_ADD_A_SINGLE_RECIPIENT_TO_A_LIST` uses legacy API; `recipient_id` is Base64-encoded lowercase email\n- `SENDGRID_RETRIEVE_ALL_LISTS` and `SENDGRID_GET_ALL_LISTS` both exist; prefer RETRIEVE_ALL_LISTS for Marketing API\n- Contact adds are async (202); always verify after a delay\n\n### Legacy vs Marketing API\n- Some tools use the legacy Contact Database API (`\u002Fv3\u002Fcontactdb\u002F`) which may return 403 on newer accounts\n- Prefer Marketing API tools: `SENDGRID_ADD_OR_UPDATE_A_CONTACT`, `SENDGRID_RETRIEVE_ALL_LISTS`, `SENDGRID_CREATE_SINGLE_SEND`\n\n## Quick Reference\n\n| Task | Tool Slug | Key Params |\n|------|-----------|------------|\n| List marketing lists | `SENDGRID_RETRIEVE_ALL_LISTS` | `page_size`, `page_token` |\n| Create list | `SENDGRID_CREATE_A_LIST` | `name` |\n| Get list by ID | `SENDGRID_GET_A_LIST_BY_ID` | `id` |\n| Get list count | `SENDGRID_GET_LIST_CONTACT_COUNT` | `id` |\n| Add\u002Fupdate contacts | `SENDGRID_ADD_OR_UPDATE_A_CONTACT` | `contacts`, `list_ids` |\n| Search contacts by email | `SENDGRID_GET_CONTACTS_BY_EMAILS` | `emails` |\n| Search by identifiers | `SENDGRID_GET_CONTACTS_BY_IDENTIFIERS` | `identifier_type`, `identifiers` |\n| Remove from list | `SENDGRID_REMOVE_CONTACTS_FROM_A_LIST` | `id`, `contact_ids` |\n| Delete list | `SENDGRID_REMOVE_LIST_AND_OPTIONAL_CONTACTS` | `id`, `delete_contacts` |\n| Import contacts CSV | `SENDGRID_IMPORT_CONTACTS` | field mappings |\n| Create Single Send | `SENDGRID_CREATE_SINGLE_SEND` | `name`, `email__config__*`, `send__to__list__ids` |\n| List sender identities | `SENDGRID_GET_ALL_SENDER_IDENTITIES` | (none) |\n| Create sender | `SENDGRID_CREATE_A_SENDER_IDENTITY` | `from__email`, `from__name`, `address` |\n| Verify sender | `SENDGRID_CREATE_VERIFIED_SENDER_REQUEST` | `from_email`, `nickname`, `address` |\n| Authenticate domain | `SENDGRID_AUTHENTICATE_A_DOMAIN` | `domain` |\n| Global email stats | `SENDGRID_RETRIEVE_GLOBAL_EMAIL_STATISTICS` | `start_date`, `aggregated_by` |\n| Category stats | `SENDGRID_RETRIEVE_EMAIL_STATISTICS_FOR_CATEGORIES` | `start_date`, `categories` |\n| Filter email activity | `SENDGRID_FILTER_ALL_MESSAGES` | `query`, `limit` |\n| Message details | `SENDGRID_FILTER_MESSAGES_BY_MESSAGE_ID` | `msg_id` |\n| Export CSV | `SENDGRID_REQUEST_CSV` | `query` |\n| Download CSV | `SENDGRID_DOWNLOAD_CSV` | `download_uuid` |\n| List categories | `SENDGRID_GET_ALL_CATEGORIES` | (none) |\n| Suppression groups | `SENDGRID_GET_SUPPRESSION_GROUPS` | (none) |\n| Get template | `SENDGRID_RETRIEVE_A_SINGLE_TRANSACTIONAL_TEMPLATE` | `template_id` |\n| Duplicate template | `SENDGRID_DUPLICATE_A_TRANSACTIONAL_TEMPLATE` | `template_id`, `name` |\n\n---\n*Powered by [Composio](https:\u002F\u002Fcomposio.dev)*\n","# SendGrid Automation via Rube MCP\n\nAutomate SendGrid email delivery workflows including marketing campaigns (Single Sends), contact and list management, sender identity setup, and email analytics through Composio's SendGrid toolkit.\n\n**Toolkit docs**: [composio.dev\u002Ftoolkits\u002Fsendgrid](https:\u002F\u002Fcomposio.dev\u002Ftoolkits\u002Fsendgrid)\n\n## Prerequisites\n\n- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)\n- Active SendGrid connection via `RUBE_MANAGE_CONNECTIONS` with toolkit `sendgrid`\n- Always call `RUBE_SEARCH_TOOLS` first to get current tool schemas\n\n## Setup\n\n**Get Rube MCP**: Add `https:\u002F\u002Frube.app\u002Fmcp` as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.\n\n\n1. Verify Rube MCP is available by confirming `RUBE_SEARCH_TOOLS` responds\n2. Call `RUBE_MANAGE_CONNECTIONS` with toolkit `sendgrid`\n3. If connection is not ACTIVE, follow the returned auth link to complete SendGrid API key authentication\n4. Confirm connection status shows ACTIVE before running any workflows\n\n## Core Workflows\n\n### 1. Create and Send Marketing Campaigns (Single Sends)\n\n**When to use**: User wants to create and send a marketing email campaign to a contact list or segment.\n\n**Tool sequence**:\n1. `SENDGRID_RETRIEVE_ALL_LISTS` - List available marketing lists to target [Prerequisite]\n2. `SENDGRID_CREATE_A_LIST` - Create a new list if needed [Optional]\n3. `SENDGRID_ADD_OR_UPDATE_A_CONTACT` - Add contacts to the list [Optional]\n4. `SENDGRID_GET_ALL_SENDER_IDENTITIES` - Get verified sender ID [Prerequisite]\n5. `SENDGRID_CREATE_SINGLE_SEND` - Create the campaign with content, sender, and recipients [Required]\n\n**Key parameters for SENDGRID_CREATE_SINGLE_SEND**:\n- `name`: Campaign name (required)\n- `email__config__subject`: Email subject line\n- `email__config__html__content`: HTML body content\n- `email__config__plain__content`: Plain text version\n- `email__config__sender__id`: Verified sender identity ID\n- `email__config__design__id`: Use instead of html_content for pre-built designs\n- `send__to__list__ids`: Array of list UUIDs to send to\n- `send__to__segment__ids`: Array of segment UUIDs\n- `send__to__all`: true to send to all contacts\n- `email__config__suppression__group__id` or `email__config__custom__unsubscribe__url`: One required for compliance\n\n**Pitfalls**:\n- Setting `send_at` on CREATE does NOT schedule the send; it only prepopulates the UI date; use the Schedule endpoint separately\n- `send_at: \"now\"` is only valid with the Schedule endpoint, not CREATE\n- Must provide either `suppression_group_id` or `custom_unsubscribe_url` for unsubscribe compliance\n- Sender must be verified before use; check with `SENDGRID_GET_ALL_SENDER_IDENTITIES`\n- Nested params use double-underscore notation (e.g., `email__config__subject`)\n\n### 2. Manage Contacts and Lists\n\n**When to use**: User wants to create contact lists, add\u002Fupdate contacts, search for contacts, or remove contacts from lists.\n\n**Tool sequence**:\n1. `SENDGRID_RETRIEVE_ALL_LISTS` - List all marketing lists [Required]\n2. `SENDGRID_CREATE_A_LIST` - Create a new contact list [Optional]\n3. `SENDGRID_GET_A_LIST_BY_ID` - Get list details and sample contacts [Optional]\n4. `SENDGRID_ADD_OR_UPDATE_A_CONTACT` - Upsert contacts with list association [Required]\n5. `SENDGRID_GET_CONTACTS_BY_EMAILS` - Look up contacts by email [Optional]\n6. `SENDGRID_GET_CONTACTS_BY_IDENTIFIERS` - Look up contacts by email, phone, or external ID [Optional]\n7. `SENDGRID_GET_LIST_CONTACT_COUNT` - Verify contact count after operations [Optional]\n8. `SENDGRID_REMOVE_CONTACTS_FROM_A_LIST` - Remove contacts from a list without deleting [Optional]\n9. `SENDGRID_REMOVE_LIST_AND_OPTIONAL_CONTACTS` - Delete an entire list [Optional]\n10. `SENDGRID_IMPORT_CONTACTS` - Bulk import from CSV [Optional]\n\n**Key parameters for SENDGRID_ADD_OR_UPDATE_A_CONTACT**:\n- `contacts`: Array of contact objects (max 30,000 or 6MB), each with at least one identifier: `email`, `phone_number_id`, `external_id`, or `anonymous_id` (required)\n- `list_ids`: Array of list UUID strings to associate contacts with\n\n**Pitfalls**:\n- `SENDGRID_ADD_OR_UPDATE_A_CONTACT` is asynchronous; returns 202 with `job_id`; contacts may take 10-30 seconds to appear\n- List IDs are UUIDs (e.g., \"ca7a3796-e8a8-4029-9ccb-df8937940562\"), not integers\n- List names must be unique; duplicate names cause 400 errors\n- `SENDGRID_ADD_A_SINGLE_RECIPIENT_TO_A_LIST` uses the legacy API; prefer `SENDGRID_ADD_OR_UPDATE_A_CONTACT` with `list_ids`\n- `SENDGRID_REMOVE_LIST_AND_OPTIONAL_CONTACTS` is irreversible; require explicit user confirmation\n- Email addresses are automatically lowercased by SendGrid\n\n### 3. Manage Sender Identities\n\n**When to use**: User wants to set up or view sender identities (From addresses) for sending emails.\n\n**Tool sequence**:\n1. `SENDGRID_GET_ALL_SENDER_IDENTITIES` - List all existing sender identities [Required]\n2. `SENDGRID_CREATE_A_SENDER_IDENTITY` - Create a new sender identity [Optional]\n3. `SENDGRID_VIEW_A_SENDER_IDENTITY` - View details for a specific sender [Optional]\n4. `SENDGRID_UPDATE_A_SENDER_IDENTITY` - Update sender details [Optional]\n5. `SENDGRID_CREATE_VERIFIED_SENDER_REQUEST` - Create and verify a new sender [Optional]\n6. `SENDGRID_AUTHENTICATE_A_DOMAIN` - Set up domain authentication for auto-verification [Optional]\n\n**Key parameters for SENDGRID_CREATE_A_SENDER_IDENTITY**:\n- `from__email`: From email address (required)\n- `from__name`: Display name (required)\n- `reply__to__email`: Reply-to address (required)\n- `nickname`: Internal identifier (required)\n- `address`, `city`, `country`: Physical address for CAN-SPAM compliance (required)\n\n**Pitfalls**:\n- New senders must be verified before use; if domain is not authenticated, a verification email is sent\n- Up to 100 unique sender identities per account\n- Avoid using domains with strict DMARC policies (gmail.com, yahoo.com) as from addresses\n- `SENDGRID_CREATE_VERIFIED_SENDER_REQUEST` sends a verification email; sender is unusable until verified\n\n### 4. View Email Statistics and Activity\n\n**When to use**: User wants to review email delivery stats, bounce rates, open\u002Fclick metrics, or message activity.\n\n**Tool sequence**:\n1. `SENDGRID_RETRIEVE_GLOBAL_EMAIL_STATISTICS` - Get account-wide delivery metrics [Required]\n2. `SENDGRID_GET_ALL_CATEGORIES` - Discover available categories for filtering [Optional]\n3. `SENDGRID_RETRIEVE_EMAIL_STATISTICS_FOR_CATEGORIES` - Get stats broken down by category [Optional]\n4. `SENDGRID_FILTER_ALL_MESSAGES` - Search email activity feed by recipient, status, or date [Optional]\n5. `SENDGRID_FILTER_MESSAGES_BY_MESSAGE_ID` - Get detailed events for a specific message [Optional]\n6. `SENDGRID_REQUEST_CSV` - Export activity data as CSV for large datasets [Optional]\n7. `SENDGRID_DOWNLOAD_CSV` - Download the exported CSV file [Optional]\n\n**Key parameters for SENDGRID_RETRIEVE_GLOBAL_EMAIL_STATISTICS**:\n- `start_date`: Start date YYYY-MM-DD (required)\n- `end_date`: End date YYYY-MM-DD\n- `aggregated_by`: \"day\", \"week\", or \"month\"\n- `limit` \u002F `offset`: Pagination (default 500)\n\n**Key parameters for SENDGRID_FILTER_ALL_MESSAGES**:\n- `query`: SQL-like query string, e.g., `status=\"delivered\"`, `to_email=\"user@example.com\"`, date ranges with `BETWEEN TIMESTAMP`\n- `limit`: 1-1000 (default 10)\n\n**Pitfalls**:\n- `SENDGRID_FILTER_ALL_MESSAGES` requires the \"30 Days Additional Email Activity History\" paid add-on; returns 403 without it\n- Global statistics are nested under `details[].stats[0].metrics`, not a flat structure\n- Category statistics are only available for the previous 13 months\n- Maximum 10 categories per request in `SENDGRID_RETRIEVE_EMAIL_STATISTICS_FOR_CATEGORIES`\n- CSV export is limited to one request per 12 hours; link expires after 3 days\n\n### 5. Manage Suppressions\n\n**When to use**: User wants to check or manage unsubscribe groups for email compliance.\n\n**Tool sequence**:\n1. `SENDGRID_GET_SUPPRESSION_GROUPS` - List all suppression groups [Required]\n2. `SENDGRID_RETRIEVE_ALL_SUPPRESSION_GROUPS_FOR_AN_EMAIL_ADDRESS` - Check suppression status for a specific email [Optional]\n\n**Pitfalls**:\n- Suppressed addresses remain undeliverable even if present on marketing lists\n- Campaign send counts may be lower than list counts due to suppressions\n\n## Common Patterns\n\n### ID Resolution\nAlways resolve names to IDs before operations:\n- **List name -> list_id**: `SENDGRID_RETRIEVE_ALL_LISTS` and match by name\n- **Sender name -> sender_id**: `SENDGRID_GET_ALL_SENDER_IDENTITIES` and match\n- **Contact email -> contact_id**: `SENDGRID_GET_CONTACTS_BY_EMAILS` with email array\n- **Template name -> template_id**: Use the SendGrid UI or template endpoints\n\n### Pagination\n- `SENDGRID_RETRIEVE_ALL_LISTS`: Token-based with `page_token` and `page_size` (max 1000)\n- `SENDGRID_RETRIEVE_GLOBAL_EMAIL_STATISTICS`: Offset-based with `limit` (max 500) and `offset`\n- Always paginate list retrieval to avoid missing existing lists\n\n### Async Operations\nContact operations (`ADD_OR_UPDATE_A_CONTACT`, `IMPORT_CONTACTS`) are asynchronous:\n- Returns 202 with a `job_id`\n- Wait 10-30 seconds before verifying with `GET_CONTACTS_BY_EMAILS`\n- Use `GET_LIST_CONTACT_COUNT` to confirm list growth\n\n## Known Pitfalls\n\n### ID Formats\n- Marketing list IDs are UUIDs (e.g., \"ca7a3796-e8a8-4029-9ccb-df8937940562\")\n- Legacy list IDs are integers; do not mix with Marketing API endpoints\n- Sender identity IDs are integers\n- Template IDs: Dynamic templates start with \"d-\", legacy templates are UUIDs\n- Contact IDs are UUIDs\n\n### Rate Limits\n- SendGrid may return HTTP 429; respect `Retry-After` headers\n- CSV export limited to one request per 12 hours\n- Bulk contact upsert max: 30,000 contacts or 6MB per request\n\n### Parameter Quirks\n- Nested params use double-underscore: `email__config__subject`, `from__email`\n- `send_at` on CREATE_SINGLE_SEND only sets a UI default, does NOT schedule\n- `SENDGRID_ADD_A_SINGLE_RECIPIENT_TO_A_LIST` uses legacy API; `recipient_id` is Base64-encoded lowercase email\n- `SENDGRID_RETRIEVE_ALL_LISTS` and `SENDGRID_GET_ALL_LISTS` both exist; prefer RETRIEVE_ALL_LISTS for Marketing API\n- Contact adds are async (202); always verify after a delay\n\n### Legacy vs Marketing API\n- Some tools use the legacy Contact Database API (`\u002Fv3\u002Fcontactdb\u002F`) which may return 403 on newer accounts\n- Prefer Marketing API tools: `SENDGRID_ADD_OR_UPDATE_A_CONTACT`, `SENDGRID_RETRIEVE_ALL_LISTS`, `SENDGRID_CREATE_SINGLE_SEND`\n\n## Quick Reference\n\n| Task | Tool Slug | Key Params |\n|------|-----------|------------|\n| List marketing lists | `SENDGRID_RETRIEVE_ALL_LISTS` | `page_size`, `page_token` |\n| Create list | `SENDGRID_CREATE_A_LIST` | `name` |\n| Get list by ID | `SENDGRID_GET_A_LIST_BY_ID` | `id` |\n| Get list count | `SENDGRID_GET_LIST_CONTACT_COUNT` | `id` |\n| Add\u002Fupdate contacts | `SENDGRID_ADD_OR_UPDATE_A_CONTACT` | `contacts`, `list_ids` |\n| Search contacts by email | `SENDGRID_GET_CONTACTS_BY_EMAILS` | `emails` |\n| Search by identifiers | `SENDGRID_GET_CONTACTS_BY_IDENTIFIERS` | `identifier_type`, `identifiers` |\n| Remove from list | `SENDGRID_REMOVE_CONTACTS_FROM_A_LIST` | `id`, `contact_ids` |\n| Delete list | `SENDGRID_REMOVE_LIST_AND_OPTIONAL_CONTACTS` | `id`, `delete_contacts` |\n| Import contacts CSV | `SENDGRID_IMPORT_CONTACTS` | field mappings |\n| Create Single Send | `SENDGRID_CREATE_SINGLE_SEND` | `name`, `email__config__*`, `send__to__list__ids` |\n| List sender identities | `SENDGRID_GET_ALL_SENDER_IDENTITIES` | (none) |\n| Create sender | `SENDGRID_CREATE_A_SENDER_IDENTITY` | `from__email`, `from__name`, `address` |\n| Verify sender | `SENDGRID_CREATE_VERIFIED_SENDER_REQUEST` | `from_email`, `nickname`, `address` |\n| Authenticate domain | `SENDGRID_AUTHENTICATE_A_DOMAIN` | `domain` |\n| Global email stats | `SENDGRID_RETRIEVE_GLOBAL_EMAIL_STATISTICS` | `start_date`, `aggregated_by` |\n| Category stats | `SENDGRID_RETRIEVE_EMAIL_STATISTICS_FOR_CATEGORIES` | `start_date`, `categories` |\n| Filter email activity | `SENDGRID_FILTER_ALL_MESSAGES` | `query`, `limit` |\n| Message details | `SENDGRID_FILTER_MESSAGES_BY_MESSAGE_ID` | `msg_id` |\n| Export CSV | `SENDGRID_REQUEST_CSV` | `query` |\n| Download CSV | `SENDGRID_DOWNLOAD_CSV` | `download_uuid` |\n| List categories | `SENDGRID_GET_ALL_CATEGORIES` | (none) |\n| Suppression groups | `SENDGRID_GET_SUPPRESSION_GROUPS` | (none) |\n| Get template | `SENDGRID_RETRIEVE_A_SINGLE_TRANSACTIONAL_TEMPLATE` | `template_id` |\n| Duplicate template | `SENDGRID_DUPLICATE_A_TRANSACTIONAL_TEMPLATE` | `template_id`, `name` |\n\n---\n*Powered by [Composio](https:\u002F\u002Fcomposio.dev)*\n",{"name":5,"category":24,"requires":25,"description":7},"email",{"mcp":26},[27],"rube","main","87afe6ce96220accf50a345dea46784c8c9f210e","YYC3-Skills-技能包\u002FYYC3-Skills-技能包-all-skills\u002Fskills\u002Fsendgrid-automation",0,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base","https:\u002F\u002Fkb.yyc3.top\u002F","https:\u002F\u002Fgithub.com\u002FYYC-Cube","万象归元于云枢 | 深栈智启新纪元","2026-11-10 10:37:32",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill sendgrid-automation",{"tool":43,"command":44},"bunx","bunx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill sendgrid-automation",{"tool":46,"command":47},"pnpm","pnpm dlx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill sendgrid-automation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-all-skills\u002Fskills\u002Fsendgrid-automation\u002FSKILL.md",true,[],[52,59,66,73,80,87],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M7CTDWHERCXPQCP0K03A86AS","vercel-sandbox","Run agent-browser + Chrome inside Vercel Sandbox microVMs for browser automation from any Vercel-deployed app. Use when the user needs browser automation in a Vercel app (Next.js, SvelteKit, Nuxt, Remix, Astro, etc.), wants to run headless Chrome without binary size limits, needs persistent browser sessions across commands, or wants ephemeral isolated browser environments. Triggers include \"Vercel Sandbox browser\", \"microVM Chrome\", \"agent-browser in sandbox\", \"browser automation on Vercel\", or any task requiring Chrome in a Vercel Sandbox.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fvercel-sandbox\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M7CTD8D2BNJY54S65M47HEJA","slack","Interact with Slack workspaces using browser automation. Use when the user needs to check unread channels, navigate Slack, send messages, extract data, find information, search conversations, or automate any Slack task. Triggers include \"check my Slack\", \"what channels have unreads\", \"send a message to\", \"search Slack for\", \"extract from Slack\", \"find who said\", or any task requiring programmatic Slack interaction.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fslack\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7CTCSSB8ZP3Q58C3YZDZK1W","electron","Automate Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify, etc.) using agent-browser via Chrome DevTools Protocol. Use when the user needs to interact with an Electron app, automate a desktop app, connect to a running app, control a native app, or test an Electron application. Triggers include \"automate Slack app\", \"control VS Code\", \"interact with Discord app\", \"test this Electron app\", \"connect to desktop app\", or any task requiring automation of a native Electron application.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Felectron\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7CTCBJY76688V4DCZGWFHGQ","dogfood","Systematically explore and test a web application to find bugs, UX issues, and other problems. Use when asked to \"dogfood\", \"QA\", \"exploratory test\", \"find issues\", \"bug hunt\", \"test this app\u002Fsite\u002Fplatform\", or review the quality of a web application. Produces a structured report with full reproduction evidence -- step-by-step screenshots, repro videos, and detailed repro steps for every issue -- so findings can be handed directly to the responsible teams.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fdogfood\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7CTC4H0FFGVEAQR9PA4GA1A","agent-browser","Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to \"open a website\", \"fill out a form\", \"click a button\", \"take a screenshot\", \"scrape data from a page\", \"test this web app\", \"login to a site\", \"automate browser actions\", or any task requiring programmatic web interaction.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fagent-browser\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7CTBKVFYBG78FDSABSDJTTQ","shadcn","Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including chat interfaces. Provides project context, component docs, and usage examples. Applies when working with shadcn\u002Fui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for \"shadcn init\", \"create an app with --preset\", \"switch to --preset\", and for building a design system or applying a DESIGN.md or brand spec to shadcn\u002Fui.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-UI-界面组件\u002FYYC3-UI-界面组件-ui\u002Fskills\u002Fshadcn\u002FSKILL.md",[],[]]