Skip to content
Back to skills

Sinch Email Mailjet Send

ASecurity

Send an email via Mailjet (Sinch) API

  • 6 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 6, 2026
ai-agentsapi

Works with

  • api

Security analysis

A100/100

Scanned September 6, 2026

npx -y skills add sinch/sinch-plugins --skill sinch-email-mailjet-send --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sinch Email Mailjet Send?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sinch Email Mailjet Send
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sinch-sinch-email-mailjet-send/badge)](https://www.skillsdirectory.com/skills/sinch-sinch-email-mailjet-send)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: sinch-email-mailjet-send
description: Send an email via Mailjet (Sinch) API
---

# Send Email via Mailjet

Send a transactional or marketing email using the Mailjet Send API v3.1. Uses HTTP Basic Auth (API key:Secret key).

**IMPORTANT: Execute this command directly. Do NOT generate script files. Perform the API call immediately.**

## Input

- `--from` / `-f`: Sender email and optional name (e.g. sender@domain.com or "Name <sender@domain.com>") - required
- `--to` / `-t`: Recipient email address - required
- `--subject` / `-s`: Email subject - required
- `--text` / `-T`: Plain text body - optional
- `--html` / `-H`: HTML body - optional
- At least one of --text or --html required

Arguments: $ARGUMENTS

## Instructions

**Execute these steps directly - do not write code or scripts:**

0. If $ARGUMENTS empty: ask for from, to, subject, and text or html. Otherwise parse.

1. Validate: --from, --to, --subject; at least one of --text or --html. Get MJ_APIKEY_PUBLIC and MJ_APIKEY_PRIVATE from env. If missing, report "Mailjet is not configured. Set MJ_APIKEY_PUBLIC and MJ_APIKEY_PRIVATE."

2. Request body: Messages array with one object: From (Email, Name), To ([{Email, Name}]), Subject, TextPart, HTMLPart. POST https://api.mailjet.com/v3.1/send with Basic Auth (MJ_APIKEY_PUBLIC:MJ_APIKEY_PRIVATE), Content-Type application/json.

3. On success: "✅ Email sent" with MessageID/Status. Handle 401, 400 with clear messages.

4. Handle all errors gracefully.

## Examples

```
/sinch-email-mailjet-send --from=sender@mydomain.com --to=recipient@example.com --subject="Hello" --text="Hello from Mailjet"
/sinch-email-mailjet-send -f "Me <me@mydomain.com>" -t user@example.com -s "Test" --html="<p>Hi</p>"
```

## API Reference

- **Endpoint**: POST https://api.mailjet.com/v3.1/send
- **Auth**: Basic (API key:Secret key)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.