Email Campaigns and Drafts
Helm can send marketing email to the people on your project's email list. You write an email as a draft, try it with a test send, and then send it straight away or schedule it for later. This page explains how to set up sending, how to write and test a draft, how to choose who receives it, and how to follow each campaign until it is sent.
What you're about to do, in plain English
An email campaign is one email, with a subject and a body, sent once to a group of people. Helm sends it through your own email provider, such as Amazon SES, SendGrid or Mailgun, using SMTP. SMTP is the standard way programs hand email to an email server for delivery. Helm does not provide its own sending service, so nothing can be sent until a Project Admin fills in the project's Email Settings.
The people who receive a campaign come from your email list:
- Feeds — named lists of subscribers, such as "Product Updates". A campaign sent to a feed goes to everyone currently subscribed to it.
- Contacts — individual people on the email list, picked one by one.
Feeds, contacts and the page where subscribers choose what they receive are described in Mailer Feeds and the Email List.
There are two ways to make a campaign:
- Email Drafts — an editor with a live preview, autosave, a test send and a plain-text option. This is the recommended way.
- Email Campaigns → New Email Campaign — a simple form where you paste the subject and HTML body and pick a send time.
Both create a campaign on the Email Campaigns page, where you can follow its status.
Step 1 — Fill in the Email Settings
These settings tell Helm which email server to use and who the email comes from. You need the SMTP details from your email provider. The same settings are used for Helm's emails about new user feedback.
- Open the project and click Settings in the sidebar.
- Under Marketing, click Email Settings.
-
In SMTP Host, enter your provider's SMTP server name, for example:
smtp.sendgrid.net -
In SMTP Port, enter the port. Use the port your provider lists for STARTTLS, which is usually:
587 - In SMTP Username and SMTP Password, enter the sign-in details your provider gave you for SMTP.
-
Leave Use TLS empty, or enter
true, so Helm encrypts the connection with STARTTLS. STARTTLS starts a normal connection and then switches it to an encrypted one. Enterfalseonly if your provider says not to use it. -
In From Email Address, enter the address your emails come from. Your provider must allow sending from it, for example:
[email protected] - Optionally, in From Display Name, enter the name people see next to the address, for example
Recipes App. - Click Save Changes. The page shows "Settings saved successfully."
Helm needs SMTP Host, SMTP Port, SMTP Username, SMTP Password and From Email Address. If any of them is empty, test sends and campaigns fail. The full list of settings tabs is in Project Settings.
Step 2 — Write a draft
- Click Email Drafts in the sidebar, then click Create draft. Helm opens the editor.
-
Type the subject in Subject line at the top, for example:
What's new in Recipes App this month -
Choose the format with the HTML and Plain text buttons above the editor. HTML is selected for a new draft. HTML is the code that web pages and most marketing emails are written in, and it lets you use headings, links, images and colours.
-
Type or paste the body into the left-hand box, for example:
<h1>Hi {first_name},</h1> <p>This month we added meal plans and a shopping list.</p> <p><a href="https://example.com/whats-new">See what's new</a></p> -
Check the preview on the right. Click Desktop 600px or Mobile 375px to see the email at a desktop or phone width, and Refresh preview to redraw it.
Helm saves the draft half a second after you stop typing, and again when you click outside the subject or body. The status next to the subject shows Unsaved changes…, Saving…, then Saved · just now. If you try to leave the page with unsaved changes, your browser asks you to confirm.
Personalise with the first name
Write {first_name} in the subject or body. When Helm sends the campaign, it
replaces it with each contact's first name, or with the word there when the contact
has no first name. So Hi {first_name}, becomes Hi Sam, or
Hi there,. Test sends do not replace it.
Add an image
Upload the image on the project's Images page and click Copy URL next to it; see Images. Then add an image tag to the body with that address, for example:
<img src="https://example.com/path/to/image.png" alt="Meal plan screen" width="560">
What HTML Helm keeps
Helm cleans the HTML each time it saves a draft, so the email is safe to send and to preview. It
keeps the tags email designs normally use: headings, paragraphs, links, images, lists, tables,
<style> blocks (including @media rules for phone layouts) and
inline style attributes. It removes scripts, embedded frames and objects,
on… event attributes such as onclick, and @import rules. If
part of your design disappears from the preview, Helm removed it.
Plain-text drafts
If you choose Plain text, Helm treats the body as text, not HTML. The preview and the emails Helm sends keep its line breaks.
Step 3 — Send yourself a test
- In the draft editor, click Send test. Helm saves the draft first.
- Helm sends the draft to the email address on your own Helm account and shows "Test email sent to" followed by the address.
- Open the email and check the layout, the links and the images.
The test subject starts with [TEST]. A test does not replace
{first_name}, does not add the unsubscribe links described below, and is not
counted as a campaign.
Step 4 — Send or schedule the draft
- In the draft editor, click Send / Schedule. A panel opens above the editor.
-
Under Send mode, choose one:
- Immediate — Helm sends the email as soon as you click the button.
- Schedule — pick a date and time in the box that appears, in your computer's time zone.
-
Under Recipients, choose who gets the email. In Feeds, select one or more feeds. In Contacts, select individual people. To select more than one item in a list, hold Cmd on a Mac or Ctrl on Windows while you click. You can use feeds, contacts or both. The Contacts list shows up to 500 people, in alphabetical order of email address.
- Click Send now or Schedule. Helm saves the draft, creates the campaign and opens the Email Campaigns page.
The draft stays on the Email Drafts page after you send it. Its Status shows Scheduled until the campaign goes out, then Sent, and the editor shows Last sent with the time. You can edit the draft and send it again; each send makes a new campaign. Editing the draft does not change a campaign that is already scheduled.
Who receives the campaign
When the campaign is sent, Helm builds the list of recipients like this:
- Everyone who is subscribed to any of the chosen feeds at that moment, plus every contact you picked.
- Each email address gets the email once, even if it is in two feeds and also picked as a contact.
- Contacts who clicked Unsubscribe from all emails are always left out.
- A contact you pick by name gets the email even if they are not subscribed to any feed, unless they unsubscribed from all emails.
Helm sends each person their own copy, so nobody sees the other addresses. At the bottom of every email Helm adds two links, Manage email preferences and Unsubscribe. Both open that person's preferences page. Helm also adds the email headers that let mail apps show their own unsubscribe button.
The Email Campaigns page
Click Email Campaigns in the sidebar to open
/<company>/<project>/scheduled-emails/. The table lists every campaign,
newest send time first, with these columns:
- Subject — the subject line.
- Feeds — the feeds it goes to, or a dash for none.
- Contacts — how many individual contacts were picked.
- Send At — when Helm sends it, in your computer's time zone.
- Status — one of the statuses below.
Campaign statuses
- Pending — waiting for its send time. Helm checks for campaigns that are due at regular intervals, so a scheduled campaign goes out shortly after its send time, not to the second.
- Sent — Helm finished sending. A campaign with no recipients at send time, for example because every chosen feed was empty, is also marked Sent, with no emails sent.
- Failed — Helm started sending but could not finish, for example because the Email Settings are incomplete or the email server refused the sign-in. Some recipients may already have received it.
Create a campaign without a draft
- On the Email Campaigns page, click New Email Campaign.
- In Subject, type the subject line.
- In Body (HTML), paste the HTML body. You can use
{first_name}here too. This form does not clean or preview the HTML, so check it in a draft first if you are unsure. - In Send At, pick the date and time, in your computer's time zone. To send as soon as possible, pick a time that has already passed.
- Under Feeds, tick the feeds to send to. Only active feeds are listed.
- Under Contacts, tick any individual contacts. Contacts who unsubscribed from all emails are not listed.
- Click Schedule Campaign. The page shows "Email campaign created."
Change or retry a campaign
- On the Email Campaigns page, click the campaign's row.
- Change the subject, body, send time or recipients.
- Click Save Changes. The page shows "Email campaign updated."
You can change a Pending campaign until it is sent. A Sent campaign opens as Email Campaign (Sent) and cannot be changed.
A Failed campaign shows "This email failed to send. You can edit it and retry, or delete it with the button below." Fix the cause first, usually the Email Settings. Then click Retry. Helm saves your changes and sends the campaign again at its next check if its send time has passed. Retrying sends the email to everyone on the list again, including anyone who received it before the failure.
Delete a campaign
You can delete a Pending or Failed campaign. A Sent campaign has no Delete button.
- On the Email Campaigns page, click the campaign's row.
- Click Delete below the form.
- Confirm with OK when the browser asks "Delete this email campaign? This cannot be undone." The page shows "Email campaign deleted."
Troubleshooting
"Send-test failed: SMTP not configured for project recipes-app. Missing: [...]"
One or more required Email Settings are empty. The list in square brackets
names them, for example 'MAILER_SMTP_PASSWORD' for SMTP Password.
Ask a Project Admin to fill them in, as in Step 1, and try again.
The same message can appear under the Send now button when you send a draft immediately. In that case Helm has already created the campaign. It appears on the Email Campaigns page as Pending, and Helm tries it again at its next check. If the settings are still incomplete then, it changes to Failed. After the settings are fixed, open the campaign and click Retry. Do not send the draft again as well, or people will receive it twice.
"Send-test failed: Your user account has no email address."
Test emails go to the address on your own Helm account, and your account has none. Contact Helm support to add one, or ask a colleague whose account has an address to send the test.
"Pick at least one feed or contact."
You clicked Send now or Schedule without choosing any recipients. Select at least one feed or contact under Recipients.
"send_at is required when scheduling."
You chose Schedule but did not pick a date and time. Fill in both in the box under Schedule, or choose Immediate.
The test send fails with a connection or sign-in error
Helm reached your email server but could not connect or sign in. Check that
SMTP Port is the STARTTLS port, usually 587. Port
465 uses a different kind of encryption that Helm does not support. Then check
SMTP Username and SMTP Password, and that your provider allows
sending from the From Email Address.
The campaign went out at the wrong time
Helm reads the time you type in your computer's time zone. If your computer's clock is set to a different time zone from the one you meant, the campaign goes out at the wrong hour. Check the Send At column on the Email Campaigns page, which shows the time in your computer's time zone, and change the campaign if it is wrong.
A subscriber did not receive the campaign
Open the contact on the Email List page. If they show globally suppressed, they clicked Unsubscribe from all emails and Helm will not email them. Otherwise check that they were subscribed to one of the chosen feeds when the campaign was sent. Also ask them to check their spam folder.