Platform DocumentationE-mails & Templates

E-mails & Templates

Sidebar: E-mails

Module: E-mail marketing — paid plans. The SMTP account configured here sends these templates, so it follows the module too — and, when an automation’s AI follow-up is set to go by e-mail, those plain-text follow-ups. On a plan without e-mail marketing, existing templates stay editable, but New template shows the plan that includes it.

FlyB sends e-mail through your own SMTP server, under your own domain and your own sender reputation. FlyB does not act as an e-mail service provider on your behalf.

The organization’s SMTP is the default. Each member may also connect their own mailbox, so the e-mails they send — and the automatic e-mails to the contacts they own — leave from their own address. See Each member’s own SMTP.

Sending e-mail requires a paid plan. There is no monthly sending limit: the e-mails FlyB sends for you — CRM automations, booking confirmations, AI follow-ups by e-mail and one-off sends — are included, and a campaign is paid in Flights when you schedule it (1 Flight per 10 recipients — see What it costs).

Connecting your SMTP server

Settings → Apps & Connections → Email (SMTP), or the SMTP panel on the templates screen.

FieldNotes
SMTP servere.g. smtp.example.com
PortYour provider’s port
UserUsually the full e-mail address
PasswordYour provider’s SMTP credential
Security (SSL/TLS)On or off

Test connection asks your server whether it accepts the login before you save, and shows the server’s own answer when it does not — a wrong password and a blocked port need different fixes.

The password is never shown again after it is saved: the field stays blank, and saving with it blank keeps the stored password. Changing the server or the user asks for the password again.

An e-mail through the organization’s SMTP leaves from the template’s own sender address, else the organization’s e-mail (Settings → Company), else the SMTP user when that is an e-mail address. Providers whose SMTP user is a key rather than an address (Amazon SES, SendGrid) need one of the first two: with none of them the e-mail is not sent, and the screen says so.

The Gmail shortcut

If you use Gmail or Google Workspace, Set up with Gmail fills in the server, port and encryption for you. You supply the address and an App Password.

Gmail will not accept your account password for SMTP. You must turn on 2-Step Verification, generate a 16-character App Password, and paste that. The dialog links to both Google pages and validates the format before saving.

Each member’s own SMTP

Settings → Profile → E-mail settings. Every member — the owner included — can connect their own mailbox (any SMTP server, or the same Gmail shortcut) for the organization they are signed into. The organization’s SMTP stays the default for everyone who does not.

Which server carries an e-mail:

The e-mail is…It leaves through…
Sent by you from the dashboard — a contact’s Send e-mail, a deal’s Send by e-mail, a template’s Send Test, a campaign’s testYour SMTP when you have one, else the organization’s
Sent automatically — a CRM stage automation, a scheduled task, an AI follow-up by e-mail, an e-mail campaignThe SMTP of the contact’s Lead Owner when they have one, else the organization’s

Through a member’s SMTP the e-mail goes out as that member: their address, their name, and replies to them (a template’s own sender fields give way, since a mailbox only sends as itself). You can set the sender name, the sender address and a reply-to address of your own; left blank, they are your name, your SMTP login and the sender itself.

Saving tests the connection first. If your server later refuses the login (the password or App Password changed), FlyB marks your SMTP as refused, sends that e-mail — and the next ones — through the organization’s SMTP instead, and shows the reason on the same screen until you save your credentials again. Use my SMTP pauses it without deleting it, and Send test sends a real e-mail to your login address.

Also use it for bulk campaigns is on by default. Personal mailboxes such as Gmail allow only a few hundred e-mails a day, so turn it off to send the campaigns reaching your contacts through the organization’s SMTP while everything else still leaves from your address.

The password is stored encrypted and never shown again. A member who leaves the organization stops sending for it: their contacts’ automatic e-mails go back to the organization’s SMTP.

Templates

A template is a saved e-mail. Automations, campaigns and one-off sends all use them.

Template details

FieldNotes
Template nameInternal
PriorityHigh / Normal / Low
Sender name and e-mailWhat the recipient sees. The e-mail is required: a template cannot be saved without it
Reply-toWhere replies land
CC / BCCFixed copies on every send
SubjectRequired, at least 6 characters
PreheaderThe preview line next to the subject in the inbox
BodyVisual HTML editor
Plain textFallback for clients that cannot render HTML

The editor

A visual editor with formatting, colours, links, images, lists, alignment and CTA buttons (label, URL, click tracking, colour, size, corner radius). You can drop to raw HTML at any time, clear the template to a blank body, or restore the default design.

Click tracking

Every CTA button has a Track clicks on this button switch, on by default. On a tracked button, the link in the e-mail points to FlyB first, which records the click and forwards the reader to your address instantly — the reader never sees a difference.

A recorded click:

  • appears in the contact’s timeline, in the delivery report and on the campaign
  • can be used in contact filters and CRM conditions (Clicked an e-mail button: pick the e-mail, then the button by its label, or any button)
  • can put the contact into a funnel stage (the E-mail button clicked entry event), score points in Lead Score and trigger a message automation
  • drives the click conditions of a campaign’s engagement automation
  • also counts as an open, since nobody clicks an e-mail they did not read

Only web addresses (https://…) are tracked — a mailto: or tel: link goes out as it is — and the unsubscribe link is never tracked. Clicks by e-mail security scanners (which open every link of a message the moment it arrives) are filtered out and not counted.

Each button keeps a stable identity inside the template, which is what lets filters and rules refer to “the pricing button of this e-mail” even after you edit its text. A summary under the editor lists the template’s buttons and which of them are tracked. Templates created before click tracking existed get their buttons identified the first time they are opened in the editor — open and save them once (country versions included) to start tracking.

Variables

Insert variables anywhere in the subject, preheader or body and they are replaced at send time. The picker covers:

  • Contact — every field, first and last name separately, custom fields, country dial code, the phone as a wa.me link, the full address on one line, lead score, timestamps
  • Lead owner — the name, e-mail and phone of the member responsible for the lead
  • Your company — name, logo, address, website, e-mail, phone, brand colour
  • Funnels — the stage, when the contact entered it, days and minutes in stage, movement history
  • This deal — the deal the message is about, with its items table (see Deal variables)
  • Deals, subscriptions and payments — amounts also come ready with their currency (R$ 199,00), and dates written out
  • This appointment — the appointment the message is about (see below)
  • Next appointment, last appointment booked and the full booking list
  • Today — the date and time of the send, on the contact’s clock when it is known
  • E-mail — the unsubscribe link

Index [0] in a list always means the most recent item — except the booking list, which is ordered by the appointment’s own date, so [0] is the one furthest ahead. That is why the two appointments a message is usually about have groups of their own.

The picker lists its groups down the side; pick one to see its variables. The search looks across every group at once — accents and capitals are ignored, every word has to match, and a group’s name counts, so next date finds the next appointment’s dates. The arrow keys and Enter insert without the mouse. The variables you inserted last, in this browser, wait under Recently used, and Custom fields builds {{contact.custom_fields.your_key}} from the key you type.

Appointment variables

A booking carries its date and time already written out on the calendar’s clock ({{contact.next_booking.date_time}}), the day of the week, where it happens (the address, or the meeting link when it is remote), and a reschedule or cancel link — the same address the booking confirmation e-mail sends people to.

Use Next appointment for a reminder and Last appointment booked for a confirmation or a follow-up. Both come out blank when there is no such appointment.

This appointment ({{booking.date_time}}, {{booking.calendar_name}}, {{booking.location}}, {{booking.notes}}, {{booking.manage_url}}…) is the appointment the message is about, which is not always either of those. A calendar’s WhatsApp confirmation and reminders fill it with the exact booking being confirmed or reminded — somebody with an appointment tomorrow and another in three weeks gets the three-week reminder about the right one — and so do message automations triggered by a booking, a cancellation or a recorded attendance (attended or no-show). Anything else that sends the same message (a CRM automation, the Inbox, an e-mail) gets the contact’s next appointment, or else the one booked most recently. Its date and time are written on the guest’s own clock when it is known, like the confirmation e-mail, and {{booking.timezone_label}} names that clock (BRT, EDT). {{booking.meet_url}} is the Google Meet link of a remote appointment (blank unless the calendar is connected to Google Calendar), and {{booking.manage_short_url}} is a shorter form of the reschedule or cancel link, made for the link button of a WhatsApp template. The links ({{booking.calendar_url}}, {{booking.manage_url}}) use the calendar’s public address — your own domain when it is live, otherwise calendar.flyb.app, with the calendar’s custom address when it has one.

Dates in a WhatsApp template are written in the template’s language, so an English template says “September 25” and a Portuguese one “25 de setembro”.

Deal variables

This deal ({{deal.description}}, {{deal.value_formatted}}, {{deal.payment_url}}, {{deal.owner_name}}…) is the deal the message is about. A deal’s Send by e-mail fills it with exactly that deal; anything else that sends the same message gets the contact’s most recent active deal, or else their most recent one.

Deal items table ({{deal.items_table}}, also {{contact.deals[0].items_table}} for the most recent deal) prints the whole order as a table in the e-mail: each item’s picture, name (linked to its page, when it has one), description, quantity and amount — with the price description, the unit price and any discount under the name — the order’s delivery fee on a row of its own when it has one (its name as you gave it; Free when it is waived) and the order’s total on the last row, in your brand colour. A deal without items prints as one line (its description and value). The headings follow the language the e-mail is written in.

The same variable used in a WhatsApp message or an HTTP request becomes a plain list (• 2× Pizza — R$ 90,00 … Total: R$ 102,00). {{deal.payment_url}} is the order’s payment link once it has been created.

Country versions

A template can carry a default version plus one version per country. A contact from a country with its own version receives it; everyone else receives the default. The country is resolved from the contact’s phone dial code, falling back to the analytics of their originating visit.

Lists always show the parent template. Deleting the template deletes its versions; deleting a version simply sends those contacts back to the default.

A version starts as a copy of the default, buttons included, so a click on the translated copy of a button counts as a click on the default template’s button.

A template that a campaign — or one of its automation rules — sent cannot be deleted while that campaign exists: deleting it would erase the record of what went out. Delete the campaign first.

Generating a template with AI

Generate with AI rewrites the subject, the preheader and the whole body from a description of what the e-mail should say. It costs Flights, and the result replaces the current content — nothing is saved until you click Save Template.

Previewing and testing

Preview renders the template with a real contact’s data, desktop or mobile. Send Test picks a contact to fill the variables and a separate address to deliver to — the test is never sent to the contact whose data is used. It leaves through your own SMTP when you have one.

Sending

Way to sendWhere
One contactThe contact modal → Send e-mail, or + Actions in the WhatsApp Inbox panel — see below
One dealSend by e-mail in the deal
Everyone in a filter or a CRM stageBulk dispatch — runs in your browser, keep the tab open
A scheduled bulk dispatchE-mail Campaigns — runs on FlyB’s servers
AutomaticallyA CRM stage automation

Sending one e-mail to a contact

Send e-mail asks how to start: Write from scratch (a personal e-mail with the greeting and your signature ready) or one of your templates (the contact’s country version, when it has one). Either way the e-mail opens in the visual editor already filled with the contact’s data — every variable shows its value — so you adjust the real e-mail before it leaves. What you see is exactly what is sent.

+ Variable inserts a variable’s value for this contact (the deal’s items table goes in as the table itself), not the {{variable}}. Payments and subscriptions are offered only to members with the Financial permission. You can change the subject, add CC and BCC copies (a template’s own come along) and insert images from the gallery.

Above the subject, From says who sends it — your own SMTP or the organization’s — with a link to set yours up. The composer refuses before you press Send when the contact has no e-mail address, unsubscribed, or bounced before, and warns when the same template already went out to them.

Sent e-mails are tracked like any other (opens, button clicks, the contact’s timeline, the monthly allowance). An e-mail written from scratch appears in the report as One-off e-mail, named by its subject. Sending needs the E-mails permission (insert).

The immediate bulk dispatch paces itself at 500 ms between sends to stay inside SMTP rate limits, and warns you before you send to a contact who already received the same template.

Unsubscribes

Every e-mail carries an unsubscribe link. A contact who unsubscribes chooses a reason and is permanently excluded from your sends. This cannot be reversed from the dashboard — which is deliberate, and required by anti-spam law.

You can also disable sending to a contact by hand, with a recorded reason.

The delivery report

Sidebar: E-mails → Sent Emails

Every e-mail your organization sends is recorded here, with:

CardMeaning
EmailsTotal in the period, with the number of contacts and templates involved
SentAccepted by your SMTP server
OpenedOpen rate over the sent ones
ClickedE-mails with at least one tracked click, as a rate over the sent ones
BouncesPermanent, temporary, undetermined, or marked as spam
FailuresRejected at send time

The table lists each send with its contact, template, the subject as it went out (variables filled), status and open time, and can be filtered by template, by campaign, by status (including Clicked) and by date. A status of pending means the provider has not reported back yet. A follow-up sent by a campaign’s engagement automation is marked Follow-up · Rule N.

The template list shows, on each template’s card, its sends, open rate and — once it has tracked buttons — its click rate.

Only the most recent rows are listed for performance; the cards above always cover the whole period, so narrow the dates to see the rest.

Deliverability is yours

FlyB hands the message to the server you configured. Whether it reaches the inbox depends on your domain’s authentication (SPF, DKIM, DMARC), your sending reputation and the recipient’s filters — none of which FlyB controls. See Terms of Use → Third-party services and deliverability.