Jentic OSThe workplace. An in-house AI platform for every employeeJentic OneSafe access. Agents reach your systems without holding keysJentic AIRThe foundation. Gets your existing platforms ready for AI
Pricing

GET STARTED

API DirectoryBrowse 10,000+ APIs ready for AI agent integrationDocumentationGuides and API reference

TOOLS

API ScoringCheck your AI readiness using our scorecardArazzo UIVisualize Arazzo workflows as interactive documentationArazzo EditorBuild and edit multi-step API workflows visually

COMMUNITY

GitHubOpen source projects and examplesOpen StandardsBuilt on open specs. Never locked in.
All ResourcesEverything in one placeBlogLatest articles and insightsTech Talk NewsletterAPIs, AI agents, architecture and strategyWebinarsLive sessions and on-demand recordingsReports & WhitepapersOriginal research on enterprise AI
About UsOur mission and teamCareersJoin our teamContactGet in touch
Try it now
Jentic OSJentic OneJentic AIR
Pricing
API DirectoryDocumentationAPI ScoringArazzo UIArazzo EditorGitHubOpen Standards
All ResourcesBlogTech Talk NewsletterWebinarsReports & Whitepapers
About UsCareersContact
Try it now
JenticJentic
Products
  • Jentic OS
  • Jentic One
  • Jentic AIR
For Developers
  • API Directory
  • Documentation
  • GitHub
Company
  • About Jentic
  • Careers
  • Contact Us
  • Trust Centre
ISO/IEC 27001:2022 certification badge issued by Prescient SecurityISO/IEC 27001:2022 certification badge issued by Prescient Security

Information Security Management System

Certified to ISO/IEC 27001:2022 by Prescient Security

AICPA SOC for Service Organizations logoAICPA SOC for Service Organizations logo

SOC 2® Type 1 report

Audited by Prescient Assurance

Terms & Conditions•Privacy Policy•
© 2026 Jentic Technology Ltd. All rights reserved.
2 Grattan Court East, Dublin, D02 VX86, Ireland
Switch to light modeSwitch to dark mode
APIs / Communications / Mailsac / Mailsac API
Mailsac API logo

Mailsac API

Browse all Mailsac APIs
67
AI ReadinessAI-Aware (B+)67/100
See full scorecard
Agent-ready OpenAPI document · curated by JenticCommunicationsEmail DeliveryapiKey16 EndpointsREST

Know of an official OpenAPI document? Contribute it →

For Agents

Reserve disposable email addresses, fetch incoming messages, and subscribe to inbound-mail webhooks for automated email testing. Useful for agents that verify sign-up confirmations, password resets, and OTP codes.

Use for: I need to capture the confirmation email sent to a Mailsac inbox, Reserve a private Mailsac address for the next test run, List all messages delivered to checkout-test@mailsac.com in the last hour, Get the plain text body of a specific Mailsac message

Not supported: Does not send outbound email, host real production mailboxes, or scan attachments for malware - use for receiving and inspecting test email only.

Jentic publishes the only available OpenAPI specification for Mailsac API, keeping it validated and agent-ready. Mailsac provides disposable and reserved email inboxes for development and QA, exposing endpoints to fetch incoming messages, retrieve raw SMTP and parsed bodies, validate addresses, and register webhooks for inbound events. The 16-endpoint API covers address reservation, message listing and deletion, attachment-aware content retrieval, and webhook subscription so automated tests can drive sign-up flows end to end. Authentication uses the Mailsac-Key header on each request.

Jentic One on GithubView OpenAPI Document

Install Jentic One Beta

Connect the Mailsac API to your agent

Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Mailsac API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.

Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.

1

Step 1: Jentic One Host machine

# On the machine that will host your Jentic One instance:
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fmailsac.com%2Fmailsac" | sh
2

Step 2: Agent machine

# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fmailsac.com%2Fmailsac" | sh
jentic register       # connects your agent to your Jentic One instance

Jentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.

Capabilities

What an agent can do with Mailsac API.

Reserve a private email address and release it when the test run finishes

Pull plain text, HTML, and raw SMTP bodies for a specific message ID

List every message delivered to an inbox and delete them in bulk between test runs

Validate an email address before sending a verification mail to it

Register a webhook so an agent receives a callback the moment a message arrives

Inspect parsed SMTP headers as JSON to assert on routing and authentication results

Use Cases

Patterns agents use Mailsac API for, with concrete tasks.

★ Sign-up Confirmation Testing

End-to-end tests of registration flows need a real inbox that the application under test can email. Mailsac provides reserved disposable addresses and a polling endpoint for the inbox so a test runner can submit a sign-up form, wait for the confirmation email to land, parse the verification link out of the body, and follow it to complete account creation. Setup takes minutes per test environment.

Reserve qa-signup-001@mailsac.com, submit a sign-up form, poll GET /api/addresses/{email}/messages until the verification email arrives, then extract the link from the body.

OTP and Password Reset Verification

QA suites that exercise password reset and one-time-code flows need to read back the codes the application sends. Mailsac exposes plain text and HTML bodies for any message in a reserved inbox, so an agent can request a reset, fetch the latest message, parse the OTP from the body, and feed it into the next step of the flow. Header inspection helps assert SPF, DKIM, and routing in the same run.

Trigger a password reset for user@example.com, fetch the most recent message at the Mailsac inbox, parse the 6-digit OTP, and submit it to the reset endpoint.

Webhook-Driven Inbound Mail Processing

Long-running test environments and inbound-mail features need push delivery rather than polling. Mailsac webhooks fire when a new message arrives at a reserved address, sending the message metadata to a chosen URL. Agents can register a webhook on a per-address basis and receive immediate notification, removing the need for polling loops and reducing test latency.

Call POST /api/addresses/{email}/webhooks to register https://my-app/inbound on the reserved Mailsac address and verify the next test message triggers the callback.

AI Agent Email Verification Loop

Agents that complete onboarding flows on behalf of users need to read confirmation emails as part of the loop. Through Jentic, an agent searches for the Mailsac operation, loads the input schema, and fetches the latest message body in three calls without manual API onboarding. The agent never holds the raw Mailsac key - Jentic injects it from the vault at execute time.

Use Jentic search 'fetch messages from disposable inbox', load the schema for GET /api/addresses/{email}/messages, and execute against the reserved address to retrieve the confirmation email.

Key Endpoints

16 endpoints — jentic publishes the only available openapi specification for mailsac api, keeping it validated and agent-ready.

METHOD

PATH

DESCRIPTION

GET

/api/addresses/{email}/messages

List messages for an email address

GET

/api/addresses/{email}/messages/{messageId}

Get a specific message metadata

GET

/api/text/{email}/{messageId}

Get plain text content of a message

GET

/api/raw/{email}/{messageId}

Get raw SMTP message

POST

/api/addresses/{email}

Reserve an email address

POST

/api/addresses/{email}/webhooks

Create a webhook for an email address

GET

/api/validations/{email}

Validate an email address

GET

/api/addresses/{email}/messages

List messages for an email address

GET

/api/addresses/{email}/messages/{messageId}

Get a specific message metadata

GET

/api/text/{email}/{messageId}

Get plain text content of a message

GET

/api/raw/{email}/{messageId}

Get raw SMTP message

POST

/api/addresses/{email}

Reserve an email address

POST

/api/addresses/{email}/webhooks

Create a webhook for an email address

GET

/api/validations/{email}

Validate an email address

Jentic AI Readiness Score

This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.

M

Mailsac API

- AI-Aware (B+)
67/100
100
Foundational Compliance
63
Developer Experience & Jentic Compatibility
49
AI-Readiness & Agent Experience
94
Agent Usability
50
Security
100
AI Discoverability
Powered by JenticScoring Framework 1.0.0 | Scoring Engine 0.4.0
Show dimension breakdown
100

Foundational Compliance

Base layer of spec validity and structural soundness.

Grade: A+Signals: 4
99%

Lint Results

Aggregated quality score from linter diagnostics, weighted by severity.

100%

Resolution Completeness

Percentage of `$ref` references that resolve successfully.

100%

Specification Validity

Checks whether the API description parses successfully and conforms to its declared specification (e.g., OpenAPI).

100%

Structural Integrity

Structural correctness score based on schema issues using logarithmic dampening.

63

Developer Experience & Jentic Compatibility

Clarity, completeness, and ingestion readiness for developers and tooling.

Grade: B-Signals: 4
0%

Example Density

How richly the API is illustrated with examples.

100%

Example Validity

Percentage of examples that conform to their schemas.

50%

Response Coverage

Percentage of operations with complete response definitions (success, client error, server error).

100%

Tooling Readiness

Health of API ingestion, bundling, and resolution within Jentic pipelines.

49

AI-Readiness & Agent Experience

Semantic breadth, depth, and agent comprehension for AI systems.

Grade: D+Signals: 4
37%

Description Coverage

Coverage of descriptions across API elements.

0%

Error Standardization

Coverage of RFC 9457 Problem Details for error responses.

100%

OperationId Quality

Coverage, uniqueness, and casing consistency of operationIds for AI inference.

59%

Summary Coverage

Coverage of summaries across operations/tags/info.

94

Agent Usability

Functional utility, complexity comfort, and AI orchestration readiness.

Grade: A+Signals: 1
94%

Complexity Comfort

Agent comfort level based on API operational and structural complexity.

50

Security

Trust, risk posture, and security compliance.

Grade: C-Signals: 1
50%

Authentication Strength

Average quality of security schemes based on authentication method strength (weakest link for OAuth2).

100

AI Discoverability

Findability, semantic richness, and reasoning readiness.

Grade: A+Signals: 1
100%

Descriptive Richness

Clarity and depth of descriptions across API elements.

View full reportHow the score is calculatedMore about the dimensions

Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

Score your own APIScoring CLI agent skill
npx @jentic/api-scorecard-cli score <openapi-url>

Why Jentic?

What agents get from Jentic-routed access to this vendor.

Setup

Wiring the Mailsac API by hand means sending your key in the Mailsac-Key header, targeting the mailsac.com host, and driving its address and message endpoints yourself. Through Jentic you install once, import Mailsac from the API Directory, store the key once, and your agent calls it.

Permission scoping

Mailsac puts the address in the URL path (/api/addresses/{email}/messages, /api/text/{email}/{messageId}), so a rule can pin your agent to one test address. You choose the operations it may call, so reserving an address or setting a webhook is not included unless you add it.

Credential isolation

Your Mailsac API key is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.

Intent-based discovery

Agents search Jentic by intent such as 'read a test inbox' or 'fetch a raw message', and Jentic returns the matching Mailsac operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

Related APIs

Alternatives and complements available in the Jentic catalogue.

Complementary

mailsac API Specification

→

The fuller 47-endpoint Mailsac spec covering domains, attachments, account, and bulk address operations.

Choose this when you need domain ownership, bulk address reservation, or attachment endpoints not present in the 16-endpoint spec.

Alternative

Mailtrap Email Sending API

→

Mailtrap provides a sandbox SMTP and sending API used for similar email testing scenarios.

Choose Mailtrap when you need to capture outbound email in a sandbox rather than receive at a public disposable address.

Complementary

SendGrid Alerts API

→

SendGrid handles outbound transactional sending while Mailsac receives and verifies the resulting messages.

Pair SendGrid for production sending with Mailsac for inbox-side test verification.

FAQs

Specific to using Mailsac API through Jentic.

Why is there no official OpenAPI spec for Mailsac API?

Mailsac does not publish an OpenAPI specification. Jentic generates and maintains this spec so that AI agents and developers can call Mailsac API via structured tooling. It is validated against the live API and kept up to date. Get started with Jentic One, the self-hosted execution layer.

What authentication does the Mailsac API use?

Mailsac uses an API key passed in the Mailsac-Key request header on every call. When you run Mailsac through Jentic the key is stored encrypted in your Jentic One instance and injected at execution time, so agents never see the raw value in their context.

Can I read the body of a confirmation email with the Mailsac API?

Yes. Call GET /api/text/{email}/{messageId} for plain text, GET /api/body/{email}/{messageId} for sanitized HTML, or GET /api/raw/{email}/{messageId} for the original SMTP message including headers and attachments.

How do I get notified when a new message arrives at a Mailsac inbox?

Register a webhook on a reserved address with POST /api/addresses/{email}/webhooks and Mailsac will POST message metadata to your URL on arrival, removing the need to poll GET /api/addresses/{email}/messages.

What are the rate limits for the Mailsac API?

Rate limits are not declared in the OpenAPI spec - they depend on your Mailsac plan. Check your account dashboard at mailsac.com for current limits before driving high-volume test runs.

How do I fetch the latest message for an inbox through Jentic?

Run pip install jentic, then search for 'list messages from disposable inbox', load the schema for GET /api/addresses/{email}/messages, and execute with the reserved address. Jentic returns the message list without the agent ever handling the API key.

Can I limit what my agent is allowed to do with the Mailsac API?

Yes. Because you self-host Jentic One, your own rules decide which Mailsac operations and credentials the agent may use. Mailsac puts the address in the URL path, as in /api/addresses/{email}/messages and /api/text/{email}/{messageId}, so a rule can pin your agent to a single test inbox. You also choose which operations it may call, so reserving an address or creating a webhook stays out of reach unless you explicitly allow it.

GET STARTED

Start building with Mailsac API

Explore with Jentic One
View OpenAPI Document