Overview
Add SendGrid to any ModuleX agent or workflow. SendGrid transactional + marketing email integration via the SendGrid v3 REST API. Pure HTTP, no SDK dep.Authentication
API Key Authentication
Authenticate using your SendGrid API key. Create one in Settings > API Keys.Required Credentials
Available Actions
send_email — Send a single transactional email to one recipient
send_email — Send a single transactional email to one recipient
Parameters
text/plain)Response
send_email_multiple_recipients — Send the same email to multiple recipients individually (each recipient gets a separate copy)
send_email_multiple_recipients — Send the same email to multiple recipients individually (each recipient gets a separate copy)
Parameters
text/plain)Response
add_or_update_contact — Create a new contact or update an existing one (matched by email). Optionally adds to specified lists.
add_or_update_contact — Create a new contact or update an existing one (matched by email). Optionally adds to specified lists.
Parameters
Response
search_contacts — Search contacts using SendGrid Query Language (SGQL)
search_contacts — Search contacts using SendGrid Query Language (SGQL)
create_contact_list — Create a new contact list
create_contact_list — Create a new contact list
get_contact_lists — Get all contact lists with their IDs and counts
get_contact_lists — Get all contact lists with their IDs and counts
remove_contact_from_list — Remove contacts from a list (does not delete them)
remove_contact_from_list — Remove contacts from a list (does not delete them)
delete_contacts — Permanently delete specified contacts (or all)
delete_contacts — Permanently delete specified contacts (or all)
add_email_to_global_suppression — Add emails to the global suppression group
add_email_to_global_suppression — Add emails to the global suppression group
delete_global_suppression — Remove an email from the global suppression group
delete_global_suppression — Remove an email from the global suppression group
list_global_suppressions — List all globally suppressed (unsubscribed) emails
list_global_suppressions — List all globally suppressed (unsubscribed) emails
get_all_bounces — Get all bounced email addresses
get_all_bounces — Get all bounced email addresses
delete_bounces — Remove emails from the bounces list
delete_bounces — Remove emails from the bounces list
list_blocks — List all blocked email addresses
list_blocks — List all blocked email addresses
Limits & Quotas
- 30s timeout on every request.
get_contact_lists.page_sizeis clamped at 1000 (SendGrid max).- Mutating actions wrap everything in try/except →
success=Falseenvelope (exa-style); HTTP timeouts surface as a distinct error message.