
Research
/Security News
Miasma Mini Shai-Hulud Hits ImmobiliareLabs npm Packages
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.
@robinpath/sendgrid
Advanced tools
SendGrid transactional email + marketing — send mail, dynamic templates, contact + list management, stats. Uses the encrypted credential vault for API keys.
SendGrid module for RobinPath.
The sendgrid module lets you:
All functions are callable directly from RobinPath scripts with a simple, consistent API.
robinpath add @robinpath/sendgrid
1. Set up credentials
sendgrid.setApiKey "SG.xxxxxxxxxxxxxxxxxxxxxxxx"
2. Send an email with text/html content, cc, bcc, replyTo, and attachments
sendgrid.sendEmail "bob@example.com" "noreply@myapp.com" "Welcome!" {"html": "<h1>Hello!</h1>"}
| Function | Description |
|---|---|
sendgrid.setApiKey | Store the SendGrid API key for authentication |
sendgrid.sendEmail | Send an email with text/html content, cc, bcc, replyTo, and attachments |
sendgrid.sendTemplate | Send an email using a SendGrid dynamic template |
sendgrid.addContact | Add or update a single contact in SendGrid Marketing |
sendgrid.addContacts | Bulk add or update contacts in SendGrid Marketing |
sendgrid.removeContact | Delete a contact by ID from SendGrid Marketing |
sendgrid.searchContacts | Search contacts using SendGrid Segmentation Query Language (SGQL) |
sendgrid.listContacts | List all contacts with optional pagination |
sendgrid.createList | Create a new contact list in SendGrid Marketing |
sendgrid.listLists | List all contact lists in SendGrid Marketing |
sendgrid.deleteList | Delete a contact list by ID |
sendgrid.addToList | Add contacts to a contact list by their IDs |
sendgrid.removeFromList | Remove contacts from a contact list by their IDs |
sendgrid.getSingleSend | Get details of a Single Send campaign by ID |
sendgrid.listSingleSends | List all Single Send campaigns |
sendgrid.createSingleSend | Create a new Single Send campaign |
sendgrid.sendSingleSend | Send or schedule a Single Send campaign immediately |
sendgrid.getStats | Get global email statistics (requests, deliveries, opens, clicks, etc.) |
sendgrid.getTemplates | List all email templates with optional generation filter |
sendgrid.getTemplate | Get details of a specific email template by ID |
sendgrid.sendEmail "bob@example.com" "noreply@myapp.com" "Welcome!" {"html": "<h1>Hello!</h1>"}
sendgrid.sendTemplate "bob@example.com" "noreply@myapp.com" "d-abc123" {"name": "Bob", "orderId": "12345"}
sendgrid.addContact "bob@example.com" {"firstName": "Bob", "lastName": "Smith"}
import { RobinPath } from "@wiredwp/robinpath";
import Module from "@robinpath/sendgrid";
const rp = new RobinPath();
rp.registerModule(Module.name, Module.functions);
rp.registerModuleMeta(Module.name, Module.functionMetadata);
const result = await rp.executeScript(`
sendgrid.setApiKey "SG.xxxxxxxxxxxxxxxxxxxxxxxx"
sendgrid.sendEmail "bob@example.com" "noreply@myapp.com" "Welcome!" {"html": "<h1>Hello!</h1>"}
`);
See MODULE.md for complete documentation including all parameters, return types, error handling, and advanced examples.
@robinpath/activecampaign — ActiveCampaign module for complementary functionality@robinpath/brevo — Brevo module for complementary functionality@robinpath/convertkit — Convertkit module for complementary functionality@robinpath/mailchimp — Mailchimp module for complementary functionality@robinpath/lemlist — Lemlist module for complementary functionalityMIT
FAQs
SendGrid transactional email + marketing — send mail, dynamic templates, contact + list management, stats. Uses the encrypted credential vault for API keys.
We found that @robinpath/sendgrid demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.

Security News
Rolldown paused Rust React Compiler integration after a 5MB binary size increase raised concerns about shipping React-specific code to all Vite users.

Security News
/Research
Mini Shai-Hulud expands into the Go ecosystem after hitting LeoPlatform npm packages and targeting GitHub Actions workflows.