sinch-email-mailjet-send

Send transactional or marketing emails via the Mailjet Send API v3.1.

6|2|Updated Dec 11, 2025
One-click install
npx skills add https://github.com/sinch/sinch-plugins --skill sinch-email-mailjet-send-sinch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sinch-email-mailjet-send
Source: https://github.com/sinch/sinch-plugins/tree/main/plugins/sinch-antigravity-plugin/skills/sinch-email-mailjet-send
Command: npx skills add https://github.com/sinch/sinch-plugins --skill sinch-email-mailjet-send-sinch

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Sending transactional or marketing email programmatically requires constructing authenticated HTTP requests to the Mailjet API, which is repetitive and error-prone when done manually from a terminal or AI assistant session. ## Core Features & Use Cases - Direct API Execution: Sends email immediately via POST to the Mailjet Send API v3.1 without generating intermediate script files. - Flexible Content: Supports plain text bodies, HTML bodies, or both, with named sender formatting (e.g. "Name [email protected]"). - Credential Validation: Checks for MJ_APIKEY_PUBLIC and MJ_APIKEY_PRIVATE environment variables and reports clear errors for 401 and 400 responses. - Use Case: A developer testing an application flow can fire off a verification or notification email to a test recipient directly from the command line without writing any code. ## Quick Start Ask the assistant to send an email from [email protected] to [email protected] with a subject and a text or HTML body using the Mailjet send command.

Frequently Asked Questions about sinch-email-mailjet-send

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I send an email with the Mailjet API?

Send a POST request to https://api.mailjet.com/v3.1/send with Basic Auth using your API key and secret key. The body contains a Messages array with From, To, Subject, and TextPart or HTMLPart fields.

What credentials does Mailjet email sending require?

Mailjet requires an API key and secret key pair, set as the MJ_APIKEY_PUBLIC and MJ_APIKEY_PRIVATE environment variables. These are used together as the username and password for HTTP Basic Authentication.

Can I send HTML emails through the Mailjet Send API?

Yes, the Mailjet Send API v3.1 supports HTML content via the HTMLPart field in the message object. You can provide an HTML body, a plain text body, or both in the same request.

Why does my Mailjet API request return a 401 error?

A 401 error means authentication failed, usually because the API key or secret key is missing or incorrect. Verify that MJ_APIKEY_PUBLIC and MJ_APIKEY_PRIVATE are set correctly in your environment.

What are the limitations of sending email via command line API calls?

Direct API calls send one message per request and lack features like templates, scheduling, or batch recipient management. For bulk campaigns or templated emails, use the Mailjet dashboard or a dedicated SDK integration.