Outgoing Email
In this article we cover connecting Cubrel to your mail provider, so emails sent from records, workflows and support tickets come from your own domain. It covers the four connection types (SMTP, Postmark, Mailgun and Resend), the sender details, the test email, and what to check when sending fails. For the DNS records your domain needs, see Email DNS & Delivery.
What goes through this setup
| Sent through | |
|---|---|
| Emails sent from a record with Send Email | Your provider |
| Workflow emails | Your provider |
| Support ticket replies, customer emails and follow-ups | Your provider |
| Invites, password links, notifications, setup links | Cubrel itself, no setup needed |
Until a provider is connected, emails from records, workflows and tickets can't be sent.
Before you start
You need two things:
- An account with a mail provider that may send from your domain. That can be the mailbox provider you already use (SMTP), or a sending service such as Postmark, Mailgun or Resend.
- Your domain verified with that provider. Every provider asks you to add a few DNS records before it sends from your domain. Without them, your emails land in spam or are rejected. See Email DNS & Delivery.
Which to pick:
| Provider | Good fit when |
|---|---|
| SMTP | You already have a mailbox provider and send a modest amount of email, such as replies and quotes |
| Postmark | You want reliable delivery of one-to-one and transactional email with little setup |
| Mailgun | You want an EU region or already use Mailgun |
| Resend | You want a simple API key setup |
Connecting a provider
Go to Workspace > Email Settings > Outbound Email.
- Under Provider, pick SMTP, Postmark, Mailgun or Resend, and fill in its fields (see the sections below).
- Under Sender, enter the From name and From address your emails come from, and optionally a Reply-To address.
- Optionally turn on Send a test email and enter an address under Send test email to.
- Click Verify & Save.
Cubrel checks the connection and your credentials with the provider before anything is saved. If that works and you asked for a test email, it sends one. If anything fails, nothing is saved and you see the provider's own error message.
Passwords, tokens and API keys are stored encrypted and are never shown again. The field then says Saved. Leave blank to keep it., so you can change other details later without entering the secret again.
The sender
- From name is what recipients see as the sender, for example Tevatek Solutions.
- From address must be an address your provider lets you send from, usually any address on your verified domain, for example
info@tevatek-solutions.example. - Reply-To address is where answers go when it differs from the From address, for example a shared inbox. Support tickets set their own Reply-To so answers come back to the ticket; see Support Ticket Setup.
SMTP
SMTP works with almost any mailbox provider. You need:
| Field | What to enter |
|---|---|
| Host | Your provider's outgoing (SMTP) server |
| Port | 587 for STARTTLS, 465 for SSL/TLS |
| Encryption | STARTTLS (port 587) or SSL/TLS (port 465), matching the port |
| Username | Usually the full email address of the mailbox |
| Password | The mailbox password, or an app password where your provider requires one |
Use STARTTLS on port 587 where your provider offers it. It's the standard port for sending software, and port 465 is blocked on some networks.
Common settings:
| Provider | Host | Port and encryption | Notes |
|---|---|---|---|
| Google Workspace and Gmail | smtp.gmail.com | 587, STARTTLS | Needs 2-step verification and an app password; your normal password is refused |
| Microsoft 365 | smtp.office365.com | 587, STARTTLS | SMTP AUTH must be allowed for the mailbox; Microsoft is phasing out password sign-in for SMTP, so a sending service is the safer choice |
| IONOS | smtp.ionos.de | 587, STARTTLS | The mailbox address and its password |
| STRATO | smtp.strato.de | 465, SSL/TLS | The mailbox address and its password |
Check your provider's help page for the current values. The From address should be the mailbox you sign in with, or an alias of it: most mailbox providers refuse to send for other addresses.
Mailbox providers also limit how much one mailbox may send per day. For larger volumes, such as workflow reminders to every customer, use a sending service.
Postmark
- In Postmark, create a Server (or use an existing one) and copy its Server API token from the server's API Tokens tab.
- Add and verify your domain under Sender Signatures, or at least the From address you'll use.
- In Cubrel, pick Postmark and paste the token into Server token.
Cubrel sends through the server's default transactional stream. Postmark refuses a From address that isn't verified, and its error message says so.
Mailgun
- In Mailgun, add your sending domain, for example
mg.tevatek-solutions.example, and complete its DNS verification. - Note the region the domain was created in: US or EU. A domain only exists in its own region.
- Copy an API key with sending rights from API Security: a domain sending key or your account's private API key.
- In Cubrel, pick Mailgun and fill in Domain (exactly as listed in Mailgun), API key, and Region.
If verification fails with "not found" or "forbidden", the region usually doesn't match where the domain was created.
Resend
- In Resend, add your domain under Domains and add the DNS records it shows until the domain is verified.
- Create an API key with sending access under API Keys.
- In Cubrel, pick Resend and paste the API key.
The From address must be on the verified domain.
When sending fails
A failed email shows the status Failed with the provider's reason on its Email record. Common reasons:
| Message mentions | What to do |
|---|---|
| Authentication, login, credentials | Check the username and password or key. For Google, use an app password; for Microsoft 365, check that SMTP AUTH is allowed |
| Sender, From address, signature, not verified | Use a From address on a domain verified with your provider |
| Connection timed out, could not connect | Check the host and port; try 587 with STARTTLS |
| Size, too large | Attachments are limited to 7 MB per email; send fewer or smaller files |
| Domain not found (Mailgun) | Check the domain spelling and the region |
Emails that arrive but land in spam are a DNS question; see Email DNS & Delivery.
Changing or switching providers
Open the page again, pick another provider or change the fields, and click Verify & Save. Secret fields left blank keep their saved value. Emails already sent stay as they are; new emails use the new setup right away.
In short
| Question | Answer |
|---|---|
| Where do I set it up? | Workspace > Email Settings > Outbound Email |
| Which providers work? | Any SMTP server, Postmark, Mailgun and Resend |
| Which port should I use for SMTP? | 587 with STARTTLS, where your provider offers it |
| Is anything saved if the check fails? | No, nothing is saved and you see the provider's error |
| Can I see my password or key again? | No, it's stored encrypted; leave the field blank to keep it |
| Do invites and notifications need this? | No, Cubrel sends those itself |
| Why do my emails land in spam? | Usually missing SPF, DKIM or DMARC records; see Email DNS & Delivery |
| Gmail refuses my password, why? | Gmail needs an app password for SMTP |