[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6FSRB9V0XZ6FJ5MH9C7F065":3,"skill-same:01M6FSRB9V0XZ6FJ5MH9C7F065":76},{"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":26,"publishedAt":45,"linkOnly":46,"markdownContent":47,"markdownBody":48,"frontMatter":49,"refName":54,"commitSha":55,"skillDirectory":56,"forksCount":14,"repositoryHtmlUrl":57,"repositoryHomepageUrl":6,"ownerHtmlUrl":58,"ownerBlogUrl":59,"ownerDescription":60,"updatedAt":61,"install":62,"resources":75},"01M6FSRB9V0XZ6FJ5MH9C7F065","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 sche...","reikiplanet\u002Fdaoskills","reikiplanet","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F96377599?v=4","01M6CVWCMD740YHQDK7E9QYBW4","Reiki Planet","01M6CVWCS4KXVA2CWFVJ43EAXK",0,"MIT","https:\u002F\u002Fgithub.com\u002Freikiplanet\u002Fdaoskills\u002Fblob\u002Fmaster\u002Fautomation\u002Fsendgrid-automation\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000005","邮件与沟通","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],"automation","sendgrid automation","sendgrid","sendgrid email","MCP","contacts","via","emails","composio","community","operations","automate","first","Tools","templates","email","search","analytics","2026-11-10 10:12:30",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 sche...\"\nrequires:\n  mcp: [rube]\nrisk: unknown\nsource: community\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## 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## When to Use\nThis skill is applicable to execute the workflow or actions described in the overview.\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## 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## When to Use\nThis skill is applicable to execute the workflow or actions described in the overview.\n",{"name":5,"risk":50,"source":36,"requires":51,"description":7},"unknown",{"mcp":52},[53],"rube","master","dff58085da947e81e8418c922055644bf0082b1b","automation\u002Fsendgrid-automation","https:\u002F\u002Fgithub.com\u002Freikiplanet\u002Fdaoskills","https:\u002F\u002Fgithub.com\u002Freikiplanet","https:\u002F\u002Fwww.reiki-planet.com","Reiki Planet Game","2026-03-29 06:02:29",{"source":8,"skillName":5,"commands":63,"prompt":73,"zipAvailable":74},[64,67,70],{"tool":65,"command":66},"npx","npx skills add reikiplanet\u002Fdaoskills --skill sendgrid-automation",{"tool":68,"command":69},"bunx","bunx skills add reikiplanet\u002Fdaoskills --skill sendgrid-automation",{"tool":71,"command":72},"pnpm","pnpm dlx skills add reikiplanet\u002Fdaoskills --skill sendgrid-automation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Freikiplanet\u002Fdaoskills\u002Fblob\u002Fmaster\u002Fautomation\u002Fsendgrid-automation\u002FSKILL.md",true,[],[77,103,115,129,149,172],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":45},"01M6G614JTEQJHPT8AKK3YQ18S","web-games","Web browser game development principles. Framework selection, WebGPU, optimization, PWA.","https:\u002F\u002Fgithub.com\u002Freikiplanet\u002Fdaoskills\u002Fblob\u002Fmaster\u002Fweb-games\u002FSKILL.md",[],[84,85,86,87,88,89,36,90,91,92,93,94,95,96,97,98,99,100,101,102],"games","web games","web","grep","principles","selection","framework selection","edit","write","read","pwa","game","web browser","game development","Optimization","framework","browser","development","webgpu",{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":45},"01M6G611H2YGV0GZFP90D38ZMJ","vr-ar","VR\u002FAR development principles. Comfort, interaction, performance requirements.","https:\u002F\u002Fgithub.com\u002Freikiplanet\u002Fdaoskills\u002Fblob\u002Fmaster\u002Fvr-ar\u002FSKILL.md",[],[110,111,101,112,113,36,91,92,93,87,114,88],"ar","vr ar","interaction","requirements","performance",{"skillNo":116,"name":41,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":45},"01M6G60XNMHAMV1SV0EJ1CX0AY","Project scaffolding templates for new applications. Use when creating new projects from scratch. Contains 12 templates for various tech stacks.","https:\u002F\u002Fgithub.com\u002Freikiplanet\u002Fdaoskills\u002Fblob\u002Fmaster\u002Ftemplates\u002FSKILL.md",[],[41,121,122,123,124,125,36,126,93,127,128,87],"project scaffolding","From Scratch","tech","project","scaffolding","use","projects","applications",{"skillNo":130,"name":131,"nameZh":6,"description":132,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":45},"01M6G60T0GATMK3Q5H8GDC1Z8S","wcag-audit-patterns","Conduct WCAG 2.2 accessibility audits with automated testing, manual verification, and remediation guidance. Use when auditing websites for accessibility, fixing WCAG violations, or implementing ac...","https:\u002F\u002Fgithub.com\u002Freikiplanet\u002Fdaoskills\u002Fblob\u002Fmaster\u002Fskills\u002Fsecurity\u002Fwcag-audit-patterns\u002FSKILL.md",[],[136,137,138,139,140,36,141,142,143,144,126,145,146,147,148],"wcag audit patterns","wcag audit","patterns","WCAG","audit","manual","with","automated testing","guidance","remediation","verification","accessibility","testing",{"skillNo":150,"name":151,"nameZh":6,"description":152,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":153,"categories":154,"keywords":155,"publishedAt":45},"01M6G60PMCHW1FRZ63F931QK3R","vulnerability-scanner","Advanced vulnerability analysis principles. OWASP 2025, Supply Chain Security, attack surface mapping, risk prioritization.","https:\u002F\u002Fgithub.com\u002Freikiplanet\u002Fdaoskills\u002Fblob\u002Fmaster\u002Fskills\u002Fsecurity\u002Fvulnerability-scanner\u002FSKILL.md",[],[156,157,158,159,160,161,162,163,36,93,87,164,88,165,166,167,168,169,170,171],"scanner","vulnerability scanner","vulnerability","prioritization","2025","mapping","chain","supply chain","Bash","analysis","risk","owasp","supply chain security","security","supply","advanced",{"skillNo":173,"name":174,"nameZh":6,"description":175,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":176,"categories":177,"keywords":178,"publishedAt":45},"01M6G60JZBB8DK0W3DSG1WNMZK","threat-modeling-expert","Expert in threat modeling methodologies, security architecture review, and risk assessment. Masters STRIDE, PASTA, attack trees, and security requirement extraction. Use for security architecture r...","https:\u002F\u002Fgithub.com\u002Freikiplanet\u002Fdaoskills\u002Fblob\u002Fmaster\u002Fskills\u002Fsecurity\u002Fthreat-modeling-expert\u002FSKILL.md",[],[179,180,181,182,183,184,185,186,169,126,187,188,189,36,190,191,192,166,193,194],"modeling","threat modeling expert","threat modeling","expert","threat","risk assessment","architecture review","architecture","security architecture review","trees","security architecture","security requirement extraction","assessment","extraction","review","stride"]