{
  "markdown": "# claude-code-el-sendgrid\n\nCommunity event source for [claude-code-event-listeners](https://github.com/mividtim/claude-code-event-listeners) that receives inbound emails via SendGrid's Inbound Parse webhook.\n\n## Install\n\n```bash\n# From the marketplace (recommended — auto-discovers, pulls in el as dependency)\nclaude plugin marketplace add mividtim/claude-code-el-sendgrid\nclaude plugin install el-sendgrid\n\n# Or manually register the source\ngit clone https://github.com/mividtim/claude-code-el-sendgrid.git\n/el:register ./claude-code-el-sendgrid/sources.d/sendgrid.sh\n```\n\n## Prerequisites\n\n- **SendGrid account** with Inbound Parse configured\n- **ngrok** (or similar) forwarding to localhost on the listener port\n- SendGrid Inbound Parse webhook URL pointed at the ngrok tunnel\n\n### SendGrid Inbound Parse Setup\n\n1. Go to SendGrid > Settings > Inbound Parse\n2. Add a hostname and URL (your ngrok URL)\n3. Check \"POST the raw, full MIME message\" if you want full headers\n4. Set up an MX record for your domain pointing to `mx.sendgrid.net`\n\nSee [SendGrid docs](https://docs.sendgrid.com/for-developers/parsing-email/setting-up-the-inbound-parse-webhook) for details.\n\n## Usage\n\n```\n/el:listen sendgrid\n```\n\nOr with explicit port:\n\n```\n/el:listen sendgrid 9998\n```\n\n### Environment variables\n\n| Variable | Default | Description |\n|----------|---------|-------------|\n| `SENDGRID_WATERMARK_FILE` | `/tmp/sendgrid-webhook-watermark` | File storing the last processed message ID |\n\n## Output Format\n\n```json\n{\"from\": \"jason@example.com\", \"to\": \"ghostwriter@yourdomain.com\", \"subject\": \"Re: Chapter draft\", \"text\": \"Proceed to the 1940s.\", \"message_id\": \"<abc123@mail.gmail.com>\"}\n```\n\n## Requirements\n\n- [claude-code-event-listeners](https://github.com/mividtim/claude-code-event-listeners) plugin installed\n- Python 3\n- ngrok or similar tunnel (running separately)\n\n## License\n\nMIT\n",
  "bytes": 1879,
  "sha": "99b66b66478667c09ff804870acac1e86c26c724d509655794cae69e28562e9e",
  "repo_slug": "mividtim/claude-code-el-sendgrid",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/plg_mividtim_claude_code_el_sendgrid_claude__6404c22d/readme"
}