SendHQ フィールドノート

開発者のためのメールインフラ解説

期待されるメールの送信、返信の受信、レピュテーションの保護、エージェントへの制限付きアクセスの付与に関する運用ガイドです。

Product engineering

HTML Email Invoice Template: 7 Outlook-Safe Examples

Copy-paste HTML invoice email templates built on tables and inline CSS so they render in Outlook and Gmail, with a plain-text part and the API call that sends them.

Read article →

エンジニアリング

HTML Email Resources: 20 Tools, Frameworks and Specs

An HTML email is a message with an HTML body styled by inline CSS. These 20 resources cover client support, frameworks, inliners and testing.

Read article →

Comparisons

6 Best SMTP2GO Alternatives for Developers (Compared)

The best SMTP2GO alternatives are Postmark, Mailgun, Amazon SES, Resend, SendHQ and Brevo. Compare pricing, SMTP plus API, inbound email and log retention.

Read article →

到達率

SMTP SSL vs TLS: Which to Pick, STARTTLS or Implicit TLS

For SMTP, use TLS: SSL is deprecated. Pick implicit TLS on port 465 when offered, or STARTTLS on 587. Ports, RFCs and client settings explained.

Read article →

到達率

DMARC aspf Explained: Strict vs Relaxed SPF Alignment

DMARC aspf sets SPF alignment: r (relaxed, the default) accepts any subdomain of your From domain, s (strict) needs an exact match. Worked examples inside.

Read article →

到達率

SMTP Code 550: How to Fix Every 550 Error Variant

SMTP code 550 is a permanent rejection: the server refused the message. Read the enhanced code (5.1.1, 5.7.1, 5.7.26) to find the exact fix.

Read article →

到達率

SMTP Errors: Reply Codes and Status Codes Reference

SMTP errors are 3-digit reply codes: 4xx is temporary and safe to retry, 5xx is permanent. Full table with enhanced codes and fixes.

Read article →

メールAPI

How to Send Transactional Email in Node.js with an Email API

Build a production-safe Node.js email flow with fetch, stable idempotency keys, explicit error handling, durable retries, and honest delivery states.

Read article →

メール受信

How to Secure Inbound Email Webhooks in Node.js

Build a secure inbound email webhook in Node.js with raw-body signature verification, replay protection, idempotent ingestion, MIME limits, attachment quarantine, HTML sanitization, and policy-gated replies.

Read article →

メールAPI

AWS SES Endpoints: How to Choose the Right Region and URL

Choose the right Amazon SES API, SMTP, or inbound endpoint, configure regional resources safely, and migrate regions without losing identity, quota, or event controls.

Read article →

メールAPI

SMTP Port 587 vs 465 vs 25: Which Should Your App Use?

Use port 587 with required STARTTLS for most application email, port 465 for implicit TLS, and reserve port 25 for server-to-server relay. Includes Nodemailer configuration and debugging steps.

Read article →

メール受信

How to Process Inbound Email Webhooks Without Duplicate Replies

Build an inbound email webhook that verifies signatures, deduplicates retries, routes replies safely, and prevents one message from triggering duplicate actions.

Read article →

メール受信

Amazon SESでメールを受信する方法:S3とLambda

Amazon SES、S3、Lambdaで本番運用に耐えるメール受信パイプラインを構築します。MIMEの安全な処理、テナントごとのルーティング、冪等性、再試行、スレッド化まで扱います。

記事を読む →

メールAPI

Amazon SESの料金ティアを解説(2026年7月)

Amazon SESは2026年7月21日に、シンプルな従量課金モデルから段階的なプラン(Essentials、Pro、Enterprise)へ移行しました。コストの内訳と、トランザクションメールの予算への影響を解説します。

記事を読む →

送信ドメイン認証

DMARCのp=none・quarantine・reject:運用者のためのガイド

適切なDMARCポリシーの選択は、セキュリティと到達率のバランスを取る作業です。正規のメールをブロックせずになりすましを防ぐための、p=noneからp=rejectへの安全な移行手順を解説します。

記事を読む →

エンジニアリング

メールAPIの冪等キー

冪等キーを実装して、ネットワーク再試行時の重複メールを防ぎましょう。ユーザーに大量のメールを送りつけることなく、分散システムの障害に対処する方法を解説します。

記事を読む →

送信ドメイン認証

SPFフラット化:10回のルックアップ上限を解決する

DNSルックアップ過多による「permerror」を解消しましょう。SPFフラット化の仕組み、10回のルックアップ上限が存在する理由、到達率を高めるためのincludeチェーンの解消方法を解説します。

記事を読む →

到達率

バウンスと苦情:本当に到達率を下げるのはどちらか

バウンスは技術的な失敗ですが、苦情はレピュテーションに致命的な打撃を与えます。送信レピュテーションを守り、メールを受信トレイに届け続けるための両者への対処法を解説します。

記事を読む →

エンジニアリング

At-Least-Once配信を前提としたメールWebhookの設計

再試行、冪等キー、署名検証を用いて、配信イベントを一件も取りこぼさない堅牢なWebhookコンシューマーを構築する方法を解説します。

記事を読む →

エンジニアリング

トランザクションメール移行のプレイブック

可観測性を失わずにトランザクションメールのプロバイダーを移行するには、段階的なアプローチが必要です。並行送信、イベントの対応付け、DNSの段階的な切り替えを解説します。

記事を読む →

メールAPI

同じ50,000通のメールが$5にも$66にもなる理由

メールAPIの料金差を徹底分析します。同じ5万通でもプロバイダーによって13倍の差が生じる理由と、エンジニアリング上の制約に基づく選び方を解説します。

記事を読む →

メールAPI

SendGridの無料プランが終了:30分でできる移行ガイド

SendGridの無料プランは60日間のトライアルに変わりました。ダウンタイムなしでトランザクションメールを持続可能な代替サービスへ移行するための、エンジニア向け技術ガイドです。

記事を読む →

メールAPI

Resend互換のメールAPI:互換性がカバーしない範囲

API互換性があればコードを書き直さずにプロバイダーを切り替えられますが、レピュテーション、DNSレコード、到達率の履歴までは移行されません。

記事を読む →

エンジニアリング

トランザクションメールAPIの本番運用チェックリスト

トランザクションメールシステムを立ち上げるエンジニア向けの技術ガイドです。DNS検証、冪等性、エラー処理、コスト分析など、本番運用に向けた準備を網羅します。

記事を読む →

エージェントワークフロー

AIエージェントに安全なメール送信権限を与える方法

AIエージェントにAPIキーをそのまま渡すのはリスクです。スコープ付きの認証情報、承認の境界、冪等性を実装して、エージェントによるメール事故を防ぐ方法を解説します。

記事を読む →