Setting up the email configuration involves multiple parts, by following this 4-step flow, you will be able to complete the setup.
The first step to configure the email is to define how the email should be sent and when it should be sent.
Action on which the asset should be generated
This defines the time this email should be sent. For example,
lead_create - the email is sent when a lead is created
offer_created - the email is sent when an offer (unpaid policy) is created
policy_created - the email is sent when a policy (offer coverted to a policy via successful payment) is created
Language
The language this email is associated with. In the case where the product supports multiple languages, only the email of a selected language (the same language the customers use) will be sent based on this setting.
Subject
The subject line of the email
Name From
The name of which the email is sent from the customers see in their email inbox
E-Mail From
The email address that delivers this email - this is linked to the email sender setup. To read more in Email Accounts
After the basic setup, the next step is to define the recipients of this email. The recipients are split into 2 different categories - Dynamic and Static
Dynamic Recipients are the recipients that change base on each cases. For example, Customer - we will get the email addresses of the customers from the customer journey and the send the email to them. If you collect other dynamic email addresses in the customer journey and would like to use them as the recipient, you can add it in this format POLICY_FIELD:your_data_path
Static Recipients are the recipients that are always fixed and will not change per case.. For example, marketing@company.com. Simply put the static recipients in the fixed email addresses for the setup.
Please note that KASKO DOES NOT deliver any email to the static recipients in TEST MODE, therefore, these recipients will not receive any test emails. This is to avoid excessive spamming emails delivered into 1 inbox when testing.
In the Template step, you will put in the HTML template of your email. Here is an example:
Example Email HTML Template
<html>
<head>
<title></title>
<style type="text/css">
body {
font-family: Arial,"Helvetica Neue",Helvetica,sans-serif;
}
</style>
</head>
<body bgcolor="#f2f2f4" class="bodybgcolor nopm" style="background: #f2f2f4; margin: 0; padding: 0;">
<div>
<table border="0" cellpadding="0" cellspacing="0" class="full" style="width: 100%;">
<tbody>
<tr>
<td align="center" bgcolor="#f2f2f4" class="wrapperside" style="padding-left: 15px; padding-right: 15px; background: #f2f2f4; margin: 0;">
<table cellpadding="0" cellspacing="0" class="container mw702" style="max-width: 702px;" width="100%">
<tbody>
<tr>
<td align="center" class="hybrid headerpad logospacing" style="text-align: center; vertical-align: top; font-size: 0; padding-top: 50px; padding-bottom: 0px;" valign="top">
<img alt="AXA" class="logo" height="100" src="https://raw.githubusercontent.com/kasko/art/master/logo-text-dark-transparent.png" style="height: 50px; color: rgb(0, 0, 0); font-size: 16px; font-weight: bold;" />
</td>
</tr>
<tr>
<td align="center" bgcolor="#f2f2f4" class="footertext footertextcolor" style="color: #c0c0c8; text-align: center; vertical-align: top; font-size: 14px; padding-top: 0px; line-height: 25px; padding-bottom: 50px; background: #f2f2f4;" valign="top">
</td>
</tr>
<tr>
<td bgcolor="#e6e6e9" class="mainborder" style="background: #e6e6e9; margin: 0; padding: 1px;">
<table border="0" cellpadding="0" cellspacing="0" class="full" style="width: 100%;">
<tbody>
<tr>
<td align="center" class="headerimage heroimagefallback nopm" style="background: rgb(235, 187, 42) none repeat scroll 0% 0%; margin: 0px; padding: 0px;">
<div> </div>
<div> </div>
</td>
</tr>
<tr>
<td align="center" bgcolor="#ffffff" class="nopm whitebg herotablepadding" style="background: #ffffff; margin: 0; padding: 50px 0 65px;">
<table border="0" cellpadding="0" cellspacing="0" class="bodywidth" style="width: 66%;">
<tbody>
<tr>
<td align="center" class="h1 pb35 headlinetext" style="font-size: 34px; color: #000000; line-height: 44px; padding-bottom: 35px;">
<span style="font-size: 30px; line-height: 37px; text-align: -webkit-center; background-color: rgb(255, 255, 255);">
You're almost SWITCHed!
</span>
</td>
</tr>
<tr>
<td align="center" class="nopm" style="margin: 0; padding: 0;"><!--THIS-->
<table border="0" cellpadding="0" cellspacing="0" class="full" style="width: 100%;">
<tbody>
<tr>
<td align="center" class="bodytext pb35" style="font-size: 16px; line-height: 26px; color: #000000; padding-bottom: 35px;">
<table bgcolor="" border="0" bordercolor="" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<table bgcolor="" border="0" bordercolor="" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<div>
<span style="font-size: 16px; line-height: 26px;">
Thanks for submitting the SWITCH Motor Insurance. We're currently processing your details and your Motor Insurance should be SWITCHed very soon!
</span>
</div>
<div> </div>
<div>
<span style="font-size: 16px; line-height: 26px;">
If you have not uploaded your previous insurance policy or invoice (dated within 3 months), you will need to do it before 1 week of your policy start date so that we can switch you to in time.
</span>
</div>
<div> </div>
<div>
<span style="font-size: 16px; line-height: 26px;">
If you have any questions, please feel free to email support@switchinsurtech.com.
</span>
</div>
<div> </div>
<div>
<span style="font-size: 16px; line-height: 26px;">
Best,<br>
<br>SWITCH Insurtech
</span>
</div>
</tr>
<tr>
<td align="center" class="ctawidth">
<table bgcolor="" border="0" bordercolor="" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<table bgcolor="" border="0" bordercolor="" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td style="font-size:13px">
<table align="center" border="0" cellpadding="10" cellspacing="0" style="margin: 0px auto;">
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td align="center" bgcolor="#f2f2f4" class="footertext footertextcolor" style="color: #c0c0c8; text-align: center; vertical-align: top; font-size: 14px; padding-top: 30px; line-height: 25px; padding-bottom: 20px; background: #f2f2f4;" valign="top">
<br />Registered in England · Registered number 09607496 ·
<br />KASKO Ltd is authorised in the United Kingdom by the Financial Conduct Authority
<br /> under registration number 724284<br /><br />
<a href="mailto:help@kasko.io" style="text-decoration:none;color:#c0c0c8;">Support</a>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>
After the Template, you’ll be setting up the attachment(s) for this email. You’ll see a table for available documents and/or customer uploads that can be attached to this email. To avoid any setup error, you will only see
All static documents of the same language as this email
Dynamic documents that are generated before and/or at the time of the creation of this email (and the same language as this email)
For example, in offer_created email, you will see offer_created document but will not see policy_version_created or policy_purchased. This is because these documents will not have been generated when the email is being sent.
Customer uploads that are uploaded before and/or at the time of the creation of this email.
Once a static document or dynamic document is attached to an email, it can not be deleted. To delete the static/dynamic document, you must remove them from all emails first.