Relay self-serve for tinyRelay

Relay self-serve for tinyRelay

Create your own tinyRelay relay, get your API key straight away, and manage your webhook and events yourself, with no support ticket needed.

What is tinyRelay?

tinyRelay’s SMTP relay service lets any application, framework or server that can send over SMTP deliver its transactional email through our email delivery infrastructure. Change the host, port and credentials in your mail settings. There is no new code to write.

Delivery events, such as bounces and spam complaints, are pushed to your own webhook URL, so your system always knows what happened to each message.

Developer documentation: tinyRelay API docs covers sending email, sender DNS validation and more.

You can now set up and manage your relay yourself, from your tinyEmail account. You get your API key and webhook signing secret immediately, without contacting support.

What you can do

  • Create a relay and get your API key and webhook signing secret right away.
  • Change your webhook URL whenever your endpoint moves.
  • Choose which events tinyRelay sends to your webhook, such as sent, delivered, opened, clicked, bounced, unsubscribed and marked as spam.
  • See your daily usage on the Relay Statistics tab.
  • Get your webhook signing secret so you can verify that each delivery to your webhook genuinely came from tinyRelay.

Before you start

Availability. Self-serve tinyRelay setup is turned on per account. If you don’t see the Create New Relay button, contact tinyEmail support to ask about access.

If your account already has a relay that we set up for you, you can still use the Settings option described below to change its webhook URL and events, and to view its webhook signing secret. You need to be an account admin.

Create a relay in your tinyEmail account

  1. Go to My Account → Relay Management.

    My Account page with the Relay Management tab open and the Create New Relay button

  2. Click Create New Relay. The Create relay window opens.

    Create relay window with Name, Webhook URL, Description and the Events to deliver checkboxes

  3. Fill in the required details:
    • Name: a name to recognise this relay by.
    • Webhook URL: the address where relay events will be delivered.
    • Description: a short note about what this relay is for.
  4. Under Events to deliver, choose which events you want sent to your webhook. All events are selected by default. Uncheck any you don’t need, or click Clear all and select only the ones you want.
  5. Click Create relay.
  6. Copy your API key and webhook signing secret and store them somewhere safe, such as a password manager.

Events you can receive

EventName in webhook dataSent when
SentSENDThe email has been sent
DeliveredDELIVEREDThe email was delivered to the recipient’s mail server
OpenedOPENThe recipient opened the email
ClickedCLICKThe recipient clicked a link in the email
BouncedBOUNCEDThe email bounced
UnsubscribedUNSUBSCRIBEThe recipient unsubscribed
Marked as spamSPAMThe recipient marked the email as spam
Copy your API key now. It is shown only once, right after the relay is created, and can’t be viewed again later. You can view the webhook signing secret again at any time from the relay’s Settings.

Change your webhook URL, events or view your signing secret

  1. Go to My Account → Relay Management.
  2. Click Settings at the right of the relay you want to change. The Relay settings window opens.

    Relay settings window with Webhook URL, Events to deliver, the Webhook signing secret Reveal button and Save changes

  3. To change where events are sent, enter the new Webhook URL. Leave the field blank to keep the current one.
  4. Under Events to deliver, check the events you want to receive and uncheck the ones you don’t. Click Select all to receive every event.
  5. To see your Webhook signing secret, click Reveal. Use it to verify that deliveries to your webhook genuinely came from tinyRelay.
  6. Click Save changes.
Event changes can take up to 30 minutes. After you change which events you receive, allow up to 30 minutes before the new settings take effect. Webhook deliveries during that time may still follow your previous settings.

View relay statistics

The Relay Statistics tab shows your daily usage for email sent through tinyRelay.

  1. Go to My Account → Relay Statistics.

    Relay Statistics tab with the Last 24 hours date range, showing daily Sent, Delivered, Opens, Clicks, Spam and Unsubs counts

  2. Use the Date Range menu to choose the period you want to see, for example Last 24 hours or Last week.
  3. Each row shows one day. Use the results menu at the bottom to change how many days are shown per page, and the arrows to move between pages.
ColumnWhat it shows
SentThe number of emails sent through tinyRelay that day
DeliveredEmails delivered, with the percentage of sent emails that were delivered
OpensEmails opened, with the percentage of delivered emails
ClicksLink clicks, with the percentage of delivered emails
SpamEmails marked as spam, with the percentage of delivered emails
UnsubsRecipients who unsubscribed, with the percentage of delivered emails

Good to know

  • Existing relays keep working. You don’t need to set anything up again.
  • Ready to send? See the tinyRelay API docs for how to send email with your API key.
  • The API key is shown once. Store it safely as soon as the relay is created. The signing secret can be revealed again from the relay’s Settings.
  • Event changes take up to 30 minutes to take effect.
  • Keep your API key and signing secret private. Treat them like passwords and don’t share them or include them in screenshots.
Need a hand? Contact tinyEmail support with your account name and relay details, and we will help.