本文へスキップ
Skillpedia
APIとサーバー(バックエンド)48k · #5134

mailtrap-sending-emails

できること

このツールは、Mailtrapを通じて実際のメールを送信するのに役立ちます。Email APIまたはSMTPを使って送信を設定でき、注文確認メールなどのトランザクションメールや、ニュースレターなどの一斉配信メールに対応しています。

使う場面

  • ✓パスワード確認メールの送信を設定するとき。
  • ✓お客様へのプロモーション用ニュースレターを送信するとき。
  • ✓アプリケーションからの自動通知メールの送信に問題が起きたとき。

スキルのリンク

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/mailtrap-sending-emails/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/mailtrap-sending-emails/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“APIを使ってトランザクションメールを送信するようMailtrapを設定するにはどうすればよいですか?”

毎週5つの新しいスキル。1分で読めます。

仕組み

Mailtrapには、直接APIを使う方法やSMTP設定など、メールを送信するさまざまな方法があります。メールがシステム通知(トランザクションメール)か、マーケティングキャンペーン(一斉配信)かによって、最適な方法を選びます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Sending emails (Mailtrap)

Overview

Mailtrap sends live email over Email API (REST) or SMTP. Two streams apply for API/SMTP: Transactional (non-promotional, app-generated) and Bulk (promotional / marketing volume). Batch is not a third stream: it is how you submit many messages in one request on whichever stream matches the content. Campaigns are a separate product path for promotional mail to Mailtrap contacts. Pair this sheet with the Transactional / Bulk developer pages when building or debugging integrations (including with AI-assisted coding).

When to Use

Use when integrating, configuring, or troubleshooting Mailtrap live email sending with Email API, SMTP, transactional streams, bulk streams, or batch requests.

How to integrate (preference order)

Preferred order:

  1. Plugin or integration for the user's platform (no-code or minimal-config) where available
  2. Official SDK for your language when one exists (maintained clients, typed helpers, less room for URL/auth mistakes).
  3. HTTP Email API when there is no SDK or the SDK does not fit (direct POST to /api/send or /api/batch with JSON).
  4. SMTP only when you really need it (legacy stack, host/platform that only speaks SMTP, or hard constraints that rule out HTTP).

Choosing how to send

Approach Use when
Transactional, single message Email generated by your app (password resets, receipts, notifications, alerts). One logical message per POST https://send.api.mailtrap.io/api/send
Bulk Promotional email to contacts that you manage on your side and send at volume through Mailtrap. Not the same as "batch": bulk is the stream, not the batch endpoint.
Batch You have multiple different messages to hand off at the same time (up to 500 per request). Cuts HTTP overhead; can be applied to both transactional and bulk
Campaigns Promotional email to recipients stored as Mailtrap contacts, using Mailtrap Campaigns (audiences, scheduling, reporting in the product). Recommended to avoid implementing contact management and email sending logic; requires UI setup before sends flow—this skill does not replace that workflow.

Before generating SDK code: read the README of the relevant SDK repository linked in the SDKs section below for current method signatures, constructor options, and examples. Do not rely on memory.

Related skills: mailtrap-testing-with-sandbox (safe testing) and mailtrap-setting-up-sending-domain (verification before send).

When not to use

  • Sandbox only—capturing mail without delivery, reading messages in a sandbox (mailtrap-testing-with-sandbox).
  • The main ask is webhooks, step-by-step Campaigns UI setup, or deliverability deep-dives.
  • Exhaustive API reference—once the user's path is clear, link the official send docs for full schemas, optional fields, and edge cases.

Quick reference

Email API

…

よくある質問

トランザクションメールと一斉配信メールの違いは何ですか?

トランザクションメールは、パスワードの再設定や領収書など、アプリケーションが自動的に生成するメールです。一斉配信メールは、マーケティングやプロモーションのために大量に送るメールです。

「バッチ」とは何ですか?

「バッチ」とは、送信を効率化するために、異なる複数のメッセージを1回のリクエストでまとめて送ることです。トランザクションメールと一斉配信メールの両方で使えます。

送信せずにメールをテストするためにこのツールを使えますか?

いいえ、このツールは実際のメールを送信するためのものです。送信せずにテストするには、「mailtrap-testing-with-sandbox」スキルを使用してください。

詳細

作者による元の説明

Configure or troubleshoot Mailtrap live email sending with Email API, SMTP, transactional streams, bulk streams, or batches.

repo: sickn33/agentic-awesome-skills

人気

GitHubのスター
48k
ランキング
#5134
ライセンス
MIT
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル