MailWeaver Postbox Mock

SendEmail endpoint: POST /v2/email/outbound-emails

API

JSON
curl -X POST http://localhost:3000/v2/email/outbound-emails \
  -H 'Content-Type: application/json' \
  -H 'Authorization: AWS4-HMAC-SHA256 Credential=mock' \
  -d '{"FromEmailAddress":"no-reply@mailweaver.local","Destination":{"ToAddresses":["doctor@example.com"]},"Content":{"Simple":{"Subject":{"Data":"Hello from MailWeaver"},"Body":{"Html":{"Data":"<strong>Hello</strong>"}}}},"ListManagementOptions":{"ContactListName":"doctor-star"}}'
GET  /api/state
GET  /api/mailbox?limit=50&detail=1&raw=1
GET  /api/events?limit=50
GET  /api/log?limit=50
POST /api/preset              {"preset":"message-rejected"}
POST /api/config              {"status":429,"errorType":"TooManyRequestsException","message":"rate limit"}
POST /api/queue               {"status":503,"errorType":"ServiceUnavailableException","count":2}
POST /api/pattern             {"status":429,"interval":5,"firstAttempt":5}
POST /api/events              {"messageId":"mock-...","eventType":"Bounce"}
POST /api/reset               {}

YDS-compatible notifications:
POST /                       X-Amz-Target: Kinesis_20131202.DescribeStream
POST /                       X-Amz-Target: Kinesis_20131202.GetShardIterator
POST /                       X-Amz-Target: Kinesis_20131202.GetRecords

Log

1