This takes about 5 minutes. You don't need to share any AWS credentials with Sessy. Instead, you'll configure AWS to push events to your webhook URL. All events are cryptographically verified by AWS before processing. The AWS console requires a few steps, but we'll walk you through each one.
This guide assumes you've already set up SES for sending emails.
A Configuration Set in SES lets you track what happens to your emails after they're sent.
superforum-sesSNS (Simple Notification Service) will forward the events to your webhook.
superforum-ses-eventsCreate an HTTPS subscription that points to your Sessy webhook.
https://sessy.sabha.app/webhooks/cb89df2d-7b01-4a33-9820-32e5db50e8eb
Connect your Configuration Set to the SNS topic to start receiving events.
superforum-sessuperforum-ses-events from the dropdownWhen sending emails via SES, specify your Configuration Set name.
With aws-sdk-sesv2:
ses.send_email(
from_email_address: "you@example.com",
destination: { to_addresses: ["user@example.com"] },
content: { ... },
configuration_set_name: "superforum-ses"
)
With Rails Action Mailer using aws-actionmailer-ses:
Set the header globally for all emails from a mailer:
class ApplicationMailer < ActionMailer::Base
default "X-SES-CONFIGURATION-SET" => "superforum-ses"
end
Or set it per mailer method:
class UserMailer < ApplicationMailer
def welcome(user)
headers["X-SES-CONFIGURATION-SET"] = "superforum-ses"
mail(to: user.email, subject: "Welcome!")
end
end
Send a test email using your Configuration Set. Within seconds, you should see events appear in the Activity tab. You'll see a "Sent" event immediately, followed by "Delivered" once the email reaches the recipient's server.