$npx skillfedfor your agent

mailjet-rest

Mailjet V3 API wrapper

Worth itPyPI UtilitiesReleased Jun 20261.2M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — mailjet_rest-1.7.0-py3-none-any.whl
v1.7.0 · released 2026-06-12 · Python >=3.10 · 2 runtime deps: requests, typing-extensions

Yes. The package is actively maintained, has no known vulnerabilities, carries a permissive MIT license, and requires only two lightweight runtime dependencies. Install it if you need to send email through Mailjet from Python—it's the official client and handles authentication and request building for you. The main prerequisite is having valid Mailjet API credentials and Python 3.10 or later.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Mailjet API credentials (MJ_APIKEY_PUBLIC and MJ_APIKEY_PRIVATE environment variables) and Python >= 3.10.
  • Low friction installation with only two runtime dependencies (requests and typing-extensions).
  • The package is actively maintained with a recent release and no known vulnerabilities.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions—you may use, modify, and distribute the package freely as long as you include the license notice.

last release 2026-06-12 (63 days) · last repo commit 2026-08-12 · 121 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,227,363 downloads/mo, #4,191 on PyPI

Verify before relying

pip install mailjet-rest

import os
from mailjet_rest import Client

api_key = os.environ.get("MJ_APIKEY_PUBLIC")
api_secret = os.environ.get("MJ_APIKEY_PRIVATE")

with Client(auth=(api_key, api_secret), version="v3.1") as mailjet:
    data = {
        "Messages": [{
            "From": {"Email": "sender@example.com"},
            "To": [{"Email": "recipient@example.com"}],
            "Subject": "Test",
            "TextPart": "Hello"
        }]
    }
    result = mailjet.send.create(data=data)
    print(result.status_code)
  • Whether the package supports async/await patterns for non-blocking email sends.
  • Rate-limiting behavior and retry logic for failed API requests.
  • Whether webhook handling or parse API integration is built-in or requires additional setup.
Same gist for agents: .md · .json

What it is and what it does

mailjet-rest is the official Python client for Mailjet's email delivery APIs. It wraps Mailjet's v3, v3.1 (Send API), and v1 (Content API) endpoints, handling authentication, request serialization, and error handling so you can send transactional emails, manage contacts, and interact with templates and segmentation features without building HTTP calls manually.

The package is designed for Python 3.10+ and emphasizes resource safety through context manager support, local-first payload validation, and type hints for IDE autocompletion. It supports both simple email sends and complex payloads via a MessageBuilder, and returns raw response objects for standard HTTP errors rather than raising exceptions, giving you fine-grained control over error handling.

Use it for

  • Send transactional emails (password resets, order confirmations) from your application.
  • Manage Mailjet contacts, templates, and campaigns programmatically.
  • Build and send complex multi-recipient emails with attachments and custom headers.
  • Integrate email delivery into a web application using the Send API v3.1.
  • Monitor email statistics and webhook events through the Email API ecosystem.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is actively maintained, has no known vulnerabilities, carries a permissive MIT license, and requires only two lightweight runtime dependencies. Install it if you need to send email through Mailjet from Python—it's the official client and handles authentication and request building for you. The main prerequisite is having valid Mailjet API credentials and Python 3.10 or later.

Install

mailjet-rest on PyPI

Before you install

Low friction installation with only two runtime dependencies (requests and typing-extensions). The package is actively maintained with a recent release and no known vulnerabilities.

Requires Mailjet API credentials (MJ_APIKEY_PUBLIC and MJ_APIKEY_PRIVATE environment variables) and Python >= 3.10.

License in practice

MIT license permits commercial and private use with minimal restrictions—you may use, modify, and distribute the package freely as long as you include the license notice.

Quickstart

pip install mailjet-rest

import os
from mailjet_rest import Client

api_key = os.environ.get("MJ_APIKEY_PUBLIC")
api_secret = os.environ.get("MJ_APIKEY_PRIVATE")

with Client(auth=(api_key, api_secret), version="v3.1") as mailjet:
    data = {
        "Messages": [{
            "From": {"Email": "sender@example.com"},
            "To": [{"Email": "recipient@example.com"}],
            "Subject": "Test",
            "TextPart": "Hello"
        }]
    }
    result = mailjet.send.create(data=data)
    print(result.status_code)

Verify before relying

  • Whether the package supports async/await patterns for non-blocking email sends.
  • Rate-limiting behavior and retry logic for failed API requests.
  • Whether webhook handling or parse API integration is built-in or requires additional setup.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
requeststyping-extensions
MaintenanceActively maintained 63 days since the last release
Last repo commit
First released
Downloads1,227,363 / month, #4,191 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaEnvironment :: ConsoleIntended Audience :: DevelopersNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonTopic :: Communications :: EmailTopic :: Utilities

Evidence: mailjet_rest-1.7.0-py3-none-any.whl

Tags

Capabilities
mailjet email api pythonsend transactional emails pythonmailjet api wrapperemail delivery python sdkmailjet client library
Topics
email-deliverytransactional-emailmailjet
PyPI keywords
Mailjet API v3 / v3.1 Python Wrapperwrapperemail python-wrappertransactional-emailsmailjetmailjet-api

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “mailjet email api python”

  • mailjet-restA Python wrapper for the Mailjet Email API that handles…
  • django-mjmlProvides a Django template tag that compiles MJML (Mailjet Markup…
  • mjmlConverts MJML (a markup language for responsive emails) to HTML…

Give your agent the search over MCP, or paste the wish link into any chat.

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also sailthru-client · mailchimp-transactional · sib-api-v3-sdk · mailgun · django-anymail · mailtrap · notifications-python-client · django-rest-passwordreset · mandrill · mjml