For app publishers

Email

Let the app send mail, from which address and to whom.

What this is

This page lets your app send email, for example a weekly report or a welcome message. cyantula does the sending from its own verified domain, so your app never holds an email key. You choose the name in front of the @. The part after it is fixed.

The page also shows every message the app has sent, so you can see what went out.

Where to find it

  1. Open the Apps page and click your app.
  2. Click the card Integrations, then Email.

Email is an Advanced theme. Switch to Advanced at the top of the app page. You can also open it from the link on All integrations.

What you see

Let this app send email. The main block:

  • This app sends email: the on/off switch.
  • Default sender: the name in front of the @, with the fixed domain next to it and a Save button. Your app can still pick another name per message.
  • May email people outside the company: when this is off, the app can only write to addresses of your own organisation, which are listed in the hint.
  • Once Email is on: App token, with Show, Copy and Regenerate, and Send a test.
  • A line at the bottom: how many messages were Sent in the last 24 hours, out of the daily limit, how many recipients one message may have, and the address mail is sent from.

What this app has sent. A table with When, From, To, Subject and Status. The status is sent, blocked or a failure. A reason is written under the subject when something went wrong.

How to switch email on

  1. Tick This app sends email.
  2. A green message says Email is on. Click Deploy to hand the credentials to your app.
  3. Deploy the app. See Deploys & logs.

You know it worked when you can send a test (below) and the status on the app page says On.

How to choose the sender name

  1. Type a name in Default sender, for example news.
  2. Click Save.
  3. A message says Sender saved — deploy to apply it. Deploy the app.

How to send a test

  1. Switch email on. Send a test only shows once it is on.
  2. Leave the box empty to write to yourself, or type another address.
  3. Click Send test. A message says Test email sent.
  4. Check the inbox. The message also appears in What this app has sent.

How to let the app email people outside the company

Only an administrator, or a person with a role that allows it, can tick May email people outside the company. For everyone else the box is greyed out and the hint says so. Ask an administrator.

How to replace the app token

The App token is the secret the app uses to ask cyantula to send mail. It is already inside the running app. You only need to copy it when you build the app on your own computer. Never put it in your code or share it.

  1. Click Regenerate.
  2. A window asks Replace the token? and warns that the running app can no longer send email until you deploy again. Click Replace token.
  3. A message says New token — deploy to give it to your app. Deploy the app.

Use this if you think the token leaked. The same token is used by Slack, Teams and AI, so the app cannot use them either until you deploy again.

When something looks wrong

  • No email provider is configured on this cyantula server yet, so messages are logged instead of sent. Nothing is delivered. Ask an administrator to set up email.
  • Nothing sent yet. The app has not sent mail, or email is not deployed yet.
  • A blocked status: the message was refused, usually because the recipient is outside the company and the app may not email outsiders. The reason is written under the subject.
  • A red message after you click a button: the change was not saved. Try again. If it keeps failing, ask an administrator.

Good to know

  • Switching email on or off, and changing the sender or the token, only reach the running app after a deploy.
  • The daily limit and the number of recipients per message are set by your administrator. The numbers are written under the switch.
  • Regenerate stops the running app from sending until you deploy again.