SendGrid (Twilio с 2018) — transactional email API для SaaS: verification, password reset, receipts. 100 писем/день free; paid от $20/мес. Конкуренты: Postmark (лучший inbox placement, $15/мес), AWS SES (самый дёшев $0.10/1000), Resend (API-first, developer-friendly), Mailgun (EU ISO 27001), Brevo (combo marketing + transactional). SendGrid — historically OK но inbox placement упал c 2022.
Ниже: подробности, пример, связанные, FAQ.
# Postmark — альтернатива SendGrid Python
import postmarker
client = postmarker.core.PostmarkClient(server_token='xxx')
client.emails.send(
From='noreply@example.com',
To='user@example.com',
Subject='Welcome',
HtmlBody='<h1>Hi</h1>'
)
# AWS SES via boto3
import boto3
ses = boto3.client('ses', region_name='us-east-1')
ses.send_email(
Source='noreply@example.com',
Destination={'ToAddresses': ['user@example.com']},
Message={'Subject': {'Data': 'Hi'}, 'Body': {'Text': {'Data': 'Hello'}}}
)Resend (dev UX) или Postmark (inbox placement). SES — если уже в AWS.
Для большого enterprise с contractor-relationship — да. Для новых — рассмотрите альтернативы.
Brevo, Mailgun, Mailjet — поддерживают. SendGrid раньше делал marketing campaigns, но теперь отдельный продукт.