1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-08-23 13:46:45 +02:00
Nuno Góis 2025-06-13 10:24:13 +01:00 committed by GitHub
parent d34acb6999
commit 3467dfbdb8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 100 additions and 692 deletions

View File

@ -427,12 +427,13 @@ export class EmailService {
recipient, recipient,
}; };
let gettingStartedTemplate = 'getting-started'; const gettingStartedTemplate = 'getting-started';
if (this.flagResolver.isEnabled('newGettingStartedEmail')) {
gettingStartedTemplate = 'getting-started-new'; // If the password link is the base Unleash URL, we remove it from the context
if (passwordLink === unleashUrl) { // This can happen if the instance is using SSO instead of password-based authentication
delete context.passwordLink; // In that case, our template should show the alternative path: You don't set a password, you log in with SSO
} if (passwordLink === unleashUrl) {
delete context.passwordLink;
} }
const bodyHtml = await this.compileTemplate( const bodyHtml = await this.compileTemplate(

View File

@ -59,7 +59,6 @@ export type IFlagKey =
| 'registerFrontendClient' | 'registerFrontendClient'
| 'reportUnknownFlags' | 'reportUnknownFlags'
| 'lastSeenBulkQuery' | 'lastSeenBulkQuery'
| 'newGettingStartedEmail'
| 'lifecycleMetrics' | 'lifecycleMetrics'
| 'customMetrics' | 'customMetrics'
| 'createFlagDialogCache'; | 'createFlagDialogCache';
@ -279,10 +278,6 @@ const flags: IFlags = {
process.env.UNLEASH_EXPERIMENTAL_LAST_SEEN_BULK_QUERY, process.env.UNLEASH_EXPERIMENTAL_LAST_SEEN_BULK_QUERY,
false, false,
), ),
newGettingStartedEmail: parseEnvVarBoolean(
process.env.UNLEASH_EXPERIMENTAL_NEW_GETTING_STARTED_EMAIL,
false,
),
lifecycleMetrics: parseEnvVarBoolean( lifecycleMetrics: parseEnvVarBoolean(
process.env.UNLEASH_EXPERIMENTAL_LIFECYCLE_METRICS, process.env.UNLEASH_EXPERIMENTAL_LIFECYCLE_METRICS,
false, false,

View File

@ -1,83 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Welcome to Unleash</title>
</head>
<body style="margin:0; padding:0; background-color:#eaeaed; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; color:#000;">
<div style="display:none !important; font-size:1px; color:#ffffff; line-height:1px; max-height:0px; max-width:0px; opacity:0; overflow:hidden;">
Welcome to Unleash! Youve been invited to your organizations Unleash account start experimenting with features today.
</div>
<table width="100%" cellpadding="0" cellspacing="0" border="0" bgcolor="#eaeaed">
<tr>
<td align="center">
<table width="600" cellpadding="0" cellspacing="0" border="0" style="margin: 0 auto;">
<tr>
<td align="left" style="padding:24px 0;">
<img src="https://cdn.getunleash.io/unleash_logo_600.png" alt="Unleash logo" style="max-height:36px; height:auto; width:auto; display:block;" />
</td>
</tr>
</table>
<table width="600" cellpadding="0" cellspacing="0" border="0" style="background-color:#ffffff; border-radius:8px; overflow:hidden; box-shadow:0 2px 8px rgba(0,0,0,0.05);">
<tr>
<td align="center">
<img src="https://cdn.getunleash.io/email-assets/email_header_welcome.png" alt="Welcome to Unleash" style="width:100%; max-width:100%; height:auto; border:0; display:block;" />
</td>
</tr>
<tr>
<td style="padding:32px 24px 24px; text-align:left;">
<h1 style="font-size:24px; font-weight:bold; margin:16px 0;">Welcome to Unleash {{ name }}!</h1>
<p style="font-size:16px; line-height:1.6; margin:16px 0;">You have been invited to your organizations Unleash account.</p>
{{# passwordLink }}
<p style="font-size:16px; line-height:1.6; margin:16px 0;">Start using Unleash by clicking the sign-up link below. Follow the steps provided to set your password and get started.</p>
<p style="margin:16px 0;">
<a href="{{{ passwordLink }}}" target="_blank" style="display:inline-block; padding:10px 20px; background-color:#6c65e5; color:#ffffff; text-decoration:none; border-radius:6px; font-weight:bold; font-size:14px;">Set up account</a>
</p>
{{/ passwordLink }}
{{^ passwordLink }}
<p style="font-size:16px; line-height:1.6; margin:16px 0;">Start using Unleash by clicking the log in link below.</p>
<p style="margin:16px 0;">
<a href="{{{ unleashUrl }}}" target="_blank" style="display:inline-block; padding:10px 20px; background-color:#6c65e5; color:#ffffff; text-decoration:none; border-radius:6px; font-weight:bold; font-size:14px;">Log in</a>
</p>
{{/ passwordLink }}
</td>
</tr>
<tr>
<td style="padding:0 24px 24px; text-align:left;">
<h2 style="font-size:18px; margin:12px 0;">Useful resources</h2>
<p style="font-size:16px; line-height:1.6; margin:16px 0;">Once you are up and running, you might want to take a look at the following resources:</p>
<ul style="padding-left:24px; margin:0;">
<li style="margin-bottom:8px;"><a href="https://docs.getunleash.io" target="_blank" style="color:#615bc2; text-decoration:underline;">Documentation</a></li>
<li style="margin-bottom:8px;"><a href="https://github.com/unleash" target="_blank" style="color:#615bc2; text-decoration:underline;">Code examples</a></li>
<li style="margin-bottom:8px;"><a href="https://docs.getunleash.io/reference/sdks" target="_blank" style="color:#615bc2; text-decoration:underline;">SDKs</a></li>
</ul>
</td>
</tr>
<tr>
<td style="padding:0 24px; text-align:left;">
<p style="font-size:16px; line-height:1.6; margin:16px 0;">Best,<br />Your Unleash team</p>
</td>
</tr>
<tr>
<td style="font-size:12px; color:#3b3f44; text-align:center; padding:24px;">
<p style="margin:0;">
By starting to use Unleash, you are agreeing to our
<a href="https://www.getunleash.io/terms-of-service" target="_blank" style="color:#615bc2; text-decoration:underline;">Terms of Service</a><br />
This email was sent to {{ recipient }}
</p>
</td>
</tr>
</table>
<table width="600" cellpadding="0" cellspacing="0" border="0">
<tr>
<td style="height: 32px; line-height: 32px; font-size: 0;">&nbsp;</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>

View File

@ -1,27 +0,0 @@
Welcome to Unleash {{ name }}!
You have been invited to your organization's Unleash account.
{{# passwordLink }}
Start using Unleash by clicking the sign-up link below. Follow the steps provided to set your password and get started.
{{{ passwordLink }}}
{{/ passwordLink }}
{{^ passwordLink }}
Start using Unleash by clicking the log in link below.
{{{ unleashUrl }}}
{{/ passwordLink }}
Once you're up and running, you might want to take a look at the following resources:
- Documentation: https://docs.getunleash.io
- Code examples: https://github.com/unleash
- SDKs: https://docs.getunleash.io/reference/sdks
Best,
Your Unleash team
By starting to use Unleash, you are agreeing to our Terms of Service: https://www.getunleash.io/terms-of-service
This email was sent to {{ recipient }}

View File

@ -1,559 +1,83 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>*|MC:SUBJECT|*</title> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<style type="text/css"> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
/* /\/\/\/\/\/\/\/\/ CLIENT-SPECIFIC STYLES /\/\/\/\/\/\/\/\/ */ <title>Welcome to Unleash</title>
#outlook a{padding:0;} /* Force Outlook to provide a "view in browser" message */ </head>
.ReadMsgBody{width:100%;} .ExternalClass{width:100%;} /* Force Hotmail to display emails at full width */ <body style="margin:0; padding:0; background-color:#eaeaed; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; color:#000;">
.ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div {line-height: 100%;} /* Force Hotmail to display normal line spacing */ <div style="display:none !important; font-size:1px; color:#ffffff; line-height:1px; max-height:0px; max-width:0px; opacity:0; overflow:hidden;">
body, table, td, p, a, li, blockquote{-webkit-text-size-adjust:100%; -ms-text-size-adjust:100%;} /* Prevent WebKit and Windows mobile changing default text sizes */ Welcome to Unleash! Youve been invited to your organizations Unleash account start experimenting with features today.
table, td{mso-table-lspace:0pt; mso-table-rspace:0pt;} /* Remove spacing between tables in Outlook 2007 and up */ </div>
img{-ms-interpolation-mode:bicubic;} /* Allow smoother rendering of resized image in Internet Explorer */ <table width="100%" cellpadding="0" cellspacing="0" border="0" bgcolor="#eaeaed">
<tr>
<td align="center">
<table width="600" cellpadding="0" cellspacing="0" border="0" style="margin: 0 auto;">
<tr>
<td align="left" style="padding:24px 0;">
<img src="https://cdn.getunleash.io/unleash_logo_600.png" alt="Unleash logo" style="max-height:36px; height:auto; width:auto; display:block;" />
</td>
</tr>
</table>
/* /\/\/\/\/\/\/\/\/ RESET STYLES /\/\/\/\/\/\/\/\/ */ <table width="600" cellpadding="0" cellspacing="0" border="0" style="background-color:#ffffff; border-radius:8px; overflow:hidden; box-shadow:0 2px 8px rgba(0,0,0,0.05);">
body{margin:0; padding:0;} <tr>
img{border:0; height:auto; line-height:100%; outline:none; text-decoration:none;} <td align="center">
table{border-collapse:collapse !important;} <img src="https://cdn.getunleash.io/email-assets/email_header_welcome.png" alt="Welcome to Unleash" style="width:100%; max-width:100%; height:auto; border:0; display:block;" />
body, #bodyTable, #bodyCell{height:100% !important; margin:0; padding:0; width:100% !important;} </td>
</tr>
/* /\/\/\/\/\/\/\/\/ TEMPLATE STYLES /\/\/\/\/\/\/\/\/ */ <tr>
<td style="padding:32px 24px 24px; text-align:left;">
/* ========== Page Styles ========== */ <h1 style="font-size:24px; font-weight:bold; margin:16px 0;">Welcome to Unleash {{ name }}!</h1>
<p style="font-size:16px; line-height:1.6; margin:16px 0;">You have been invited to your organizations Unleash account.</p>
#bodyCell{padding:20px;} {{# passwordLink }}
#templateContainer{width:600px;} <p style="font-size:16px; line-height:1.6; margin:16px 0;">Start using Unleash by clicking the sign-up link below. Follow the steps provided to set your password and get started.</p>
<p style="margin:16px 0;">
/** <a href="{{{ passwordLink }}}" target="_blank" style="display:inline-block; padding:10px 20px; background-color:#6c65e5; color:#ffffff; text-decoration:none; border-radius:6px; font-weight:bold; font-size:14px;">Set up account</a>
* @tab Page </p>
* @section background style {{/ passwordLink }}
* @tip Set the background color and top border for your email. You may want to choose colors that match your company's branding. {{^ passwordLink }}
* @theme page <p style="font-size:16px; line-height:1.6; margin:16px 0;">Start using Unleash by clicking the log in link below.</p>
*/ <p style="margin:16px 0;">
body, #bodyTable{ <a href="{{{ unleashUrl }}}" target="_blank" style="display:inline-block; padding:10px 20px; background-color:#6c65e5; color:#ffffff; text-decoration:none; border-radius:6px; font-weight:bold; font-size:14px;">Log in</a>
/*@editable*/ background-color:#DEE0E2; </p>
} {{/ passwordLink }}
</td>
/** </tr>
* @tab Page <tr>
* @section background style <td style="padding:0 24px 24px; text-align:left;">
* @tip Set the background color and top border for your email. You may want to choose colors that match your company's branding. <h2 style="font-size:18px; margin:12px 0;">Useful resources</h2>
* @theme page <p style="font-size:16px; line-height:1.6; margin:16px 0;">Once you are up and running, you might want to take a look at the following resources:</p>
*/ <ul style="padding-left:24px; margin:0;">
#bodyCell{ <li style="margin-bottom:8px;"><a href="https://docs.getunleash.io" target="_blank" style="color:#615bc2; text-decoration:underline;">Documentation</a></li>
/*@editable*/ border-top:4px solid #BBBBBB; <li style="margin-bottom:8px;"><a href="https://github.com/unleash" target="_blank" style="color:#615bc2; text-decoration:underline;">Code examples</a></li>
} <li style="margin-bottom:8px;"><a href="https://docs.getunleash.io/reference/sdks" target="_blank" style="color:#615bc2; text-decoration:underline;">SDKs</a></li>
</ul>
/** </td>
* @tab Page </tr>
* @section email border <tr>
* @tip Set the border for your email. <td style="padding:0 24px; text-align:left;">
*/ <p style="font-size:16px; line-height:1.6; margin:16px 0;">Best,<br />Your Unleash team</p>
#templateContainer{ </td>
/*@editable*/ border:1px solid #BBBBBB; </tr>
} <tr>
<td style="font-size:12px; color:#3b3f44; text-align:center; padding:24px;">
/** <p style="margin:0;">
* @tab Page By starting to use Unleash, you are agreeing to our
* @section heading 1 <a href="https://www.getunleash.io/terms-of-service" target="_blank" style="color:#615bc2; text-decoration:underline;">Terms of Service</a><br />
* @tip Set the styling for all first-level headings in your emails. These should be the largest of your headings. This email was sent to {{ recipient }}
* @style heading 1 </p>
*/ </td>
h1{ </tr>
/*@editable*/ color:#202020 !important; </table>
display:block; <table width="600" cellpadding="0" cellspacing="0" border="0">
/*@editable*/ font-family:Helvetica; <tr>
/*@editable*/ font-size:26px; <td style="height: 32px; line-height: 32px; font-size: 0;">&nbsp;</td>
/*@editable*/ font-style:normal; </tr>
/*@editable*/ font-weight:bold; </table>
/*@editable*/ line-height:100%; </td>
/*@editable*/ letter-spacing:normal; </tr>
margin-top:0; </table>
margin-right:0; </body>
margin-bottom:10px; </html>
margin-left:0;
/*@editable*/ text-align:left;
}
/**
* @tab Page
* @section heading 2
* @tip Set the styling for all second-level headings in your emails.
* @style heading 2
*/
h2{
/*@editable*/ color:#404040 !important;
display:block;
/*@editable*/ font-family:Helvetica;
/*@editable*/ font-size:20px;
/*@editable*/ font-style:normal;
/*@editable*/ font-weight:bold;
/*@editable*/ line-height:100%;
/*@editable*/ letter-spacing:normal;
margin-top:0;
margin-right:0;
margin-bottom:10px;
margin-left:0;
/*@editable*/ text-align:left;
}
/**
* @tab Page
* @section heading 3
* @tip Set the styling for all third-level headings in your emails.
* @style heading 3
*/
h3{
/*@editable*/ color:#606060 !important;
display:block;
/*@editable*/ font-family:Helvetica;
/*@editable*/ font-size:16px;
/*@editable*/ font-style:italic;
/*@editable*/ font-weight:normal;
/*@editable*/ line-height:100%;
/*@editable*/ letter-spacing:normal;
margin-top:0;
margin-right:0;
margin-bottom:10px;
margin-left:0;
/*@editable*/ text-align:left;
}
/**
* @tab Page
* @section heading 4
* @tip Set the styling for all fourth-level headings in your emails. These should be the smallest of your headings.
* @style heading 4
*/
h4{
/*@editable*/ color:#808080 !important;
display:block;
/*@editable*/ font-family:Helvetica;
/*@editable*/ font-size:14px;
/*@editable*/ font-style:italic;
/*@editable*/ font-weight:normal;
/*@editable*/ line-height:100%;
/*@editable*/ letter-spacing:normal;
margin-top:0;
margin-right:0;
margin-bottom:10px;
margin-left:0;
/*@editable*/ text-align:left;
}
/* ========== Header Styles ========== */
/**
* @tab Header
* @section preheader style
* @tip Set the background color and bottom border for your email's preheader area.
* @theme header
*/
#templatePreheader{
/*@editable*/ background-color:#fff;
/*@editable*/ border-bottom:1px solid #CCCCCC;
}
/**
* @tab Header
* @section preheader text
* @tip Set the styling for your email's preheader text. Choose a size and color that is easy to read.
*/
.preheaderContent{
/*@editable*/ color:#808080;
/*@editable*/ font-family:Helvetica;
/*@editable*/ font-size:10px;
/*@editable*/ line-height:125%;
/*@editable*/ text-align:left;
}
/**
* @tab Header
* @section preheader link
* @tip Set the styling for your email's preheader links. Choose a color that helps them stand out from your text.
*/
.preheaderContent a:link, .preheaderContent a:visited, /* Yahoo! Mail Override */ .preheaderContent a .yshortcuts /* Yahoo! Mail Override */{
/*@editable*/ color:#fff;
/*@editable*/ font-weight:normal;
/*@editable*/ text-decoration:underline;
}
/**
* @tab Header
* @section header style
* @tip Set the background color and borders for your email's header area.
* @theme header
*/
#templateHeader{
/*@editable*/ background-color:#fff;
/*@editable*/ border-top:1px solid #FFFFFF;
/*@editable*/ border-bottom:1px solid #CCCCCC;
}
/**
* @tab Header
* @section header text
* @tip Set the styling for your email's header text. Choose a size and color that is easy to read.
*/
.headerContent{
/*@editable*/ color:#505050;
/*@editable*/ font-family:Helvetica;
/*@editable*/ font-size:20px;
/*@editable*/ font-weight:bold;
/*@editable*/ line-height:100%;
/*@editable*/ padding-top:0;
/*@editable*/ padding-right:0;
/*@editable*/ padding-bottom:0;
/*@editable*/ padding-left:0;
/*@editable*/ text-align:left;
/*@editable*/ vertical-align:middle;
}
/**
* @tab Header
* @section header link
* @tip Set the styling for your email's header links. Choose a color that helps them stand out from your text.
*/
.headerContent a:link, .headerContent a:visited, /* Yahoo! Mail Override */ .headerContent a .yshortcuts /* Yahoo! Mail Override */{
/*@editable*/ color:#fff;
/*@editable*/ font-weight:normal;
/*@editable*/ text-decoration:underline;
}
#headerImage{
height:auto;
max-width:600px;
}
/* ========== Body Styles ========== */
/**
* @tab Body
* @section body style
* @tip Set the background color and borders for your email's body area.
*/
#templateBody{
/*@editable*/ background-color:#fff;
}
/**
* @tab Body
* @section body text
* @tip Set the styling for your email's main content text. Choose a size and color that is easy to read.
* @theme main
*/
.bodyContent{
/*@editable*/ color:#505050;
/*@editable*/ font-family:Helvetica;
/*@editable*/ font-size:14px;
/*@editable*/ line-height:150%;
/*@editable*/ border-bottom: 1px solid #CCCCCC;
padding-top:20px;
padding-right:20px;
padding-bottom:20px;
padding-left:20px;
/*@editable*/ text-align:left;
}
.bodyContent img{
display:inline;
height:auto;
max-width:560px;
}
.resetPasswordLink {
text-decoration: none;
color: #fff !important;
background-color: #607d8b;
border-radius: 25px;
padding: 0.75rem;
text-align: center;
}
.resetPasswordLink:hover {
text-decoration: none;
color: #fff;
}
/* ========== Footer Styles ========== */
/**
* @tab Footer
* @section footer style
* @tip Set the background color and borders for your email's footer area.
* @theme footer
*/
#templateFooter{
/*@editable*/ background-color:#fff;
/*@editable*/ border-top:1px solid #FFFFFF;
}
/**
* @tab Footer
* @section footer text
* @tip Set the styling for your email's footer text. Choose a size and color that is easy to read.
* @theme footer
*/
.footerContent{
/*@editable*/ color:#808080;
/*@editable*/ font-family:Helvetica;
/*@editable*/ font-size:10px;
/*@editable*/ line-height:150%;
padding-top:20px;
padding-right:20px;
padding-bottom:20px;
padding-left:20px;
/*@editable*/ text-align:left;
}
/**
* @tab Footer
* @section footer link
* @tip Set the styling for your email's footer links. Choose a color that helps them stand out from your text.
*/
.footerContent a:link, .footerContent a:visited, /* Yahoo! Mail Override */ .footerContent a .yshortcuts, .footerContent a span /* Yahoo! Mail Override */{
/*@editable*/ color:#606060;
/*@editable*/ font-weight:normal;
/*@editable*/ text-decoration:underline;
}
/* /\/\/\/\/\/\/\/\/ MOBILE STYLES /\/\/\/\/\/\/\/\/ */
@media only screen and (max-width: 480px){
/* /\/\/\/\/\/\/ CLIENT-SPECIFIC MOBILE STYLES /\/\/\/\/\/\/ */
body, table, td, p, a, li, blockquote{-webkit-text-size-adjust:none !important;} /* Prevent Webkit platforms from changing default text sizes */
body{width:100% !important; min-width:100% !important;} /* Prevent iOS Mail from adding padding to the body */
/* /\/\/\/\/\/\/ MOBILE RESET STYLES /\/\/\/\/\/\/ */
#bodyCell{padding:10px !important;}
/* /\/\/\/\/\/\/ MOBILE TEMPLATE STYLES /\/\/\/\/\/\/ */
/* ======== Page Styles ======== */
/**
* @tab Mobile Styles
* @section template width
* @tip Make the template fluid for portrait or landscape view adaptability. If a fluid layout doesn't work for you, set the width to 300px instead.
*/
#templateContainer{
max-width:600px !important;
/*@editable*/ width:100% !important;
}
/**
* @tab Mobile Styles
* @section heading 1
* @tip Make the first-level headings larger in size for better readability on small screens.
*/
h1{
/*@editable*/ font-size:24px !important;
/*@editable*/ line-height:100% !important;
}
/**
* @tab Mobile Styles
* @section heading 2
* @tip Make the second-level headings larger in size for better readability on small screens.
*/
h2{
/*@editable*/ font-size:20px !important;
/*@editable*/ line-height:100% !important;
}
/**
* @tab Mobile Styles
* @section heading 3
* @tip Make the third-level headings larger in size for better readability on small screens.
*/
h3{
/*@editable*/ font-size:18px !important;
/*@editable*/ line-height:100% !important;
}
/**
* @tab Mobile Styles
* @section heading 4
* @tip Make the fourth-level headings larger in size for better readability on small screens.
*/
h4{
/*@editable*/ font-size:16px !important;
/*@editable*/ line-height:100% !important;
}
/* ======== Header Styles ======== */
#templatePreheader{display:none !important;} /* Hide the template preheader to save space */
/**
* @tab Mobile Styles
* @section header image
* @tip Make the main header image fluid for portrait or landscape view adaptability, and set the image's original width as the max-width. If a fluid setting doesn't work, set the image width to half its original size instead.
*/
#headerImage{
height:auto !important;
/*@editable*/ max-width:600px !important;
/*@editable*/ width:100% !important;
}
/**
* @tab Mobile Styles
* @section header text
* @tip Make the header content text larger in size for better readability on small screens. We recommend a font size of at least 16px.
*/
.headerContent{
/*@editable*/ font-size:20px !important;
/*@editable*/ line-height:125% !important;
}
/* ======== Body Styles ======== */
/**
* @tab Mobile Styles
* @section body text
* @tip Make the body content text larger in size for better readability on small screens. We recommend a font size of at least 16px.
*/
.bodyContent{
/*@editable*/ font-size:18px !important;
/*@editable*/ line-height:125% !important;
}
/* ======== Footer Styles ======== */
/**
* @tab Mobile Styles
* @section footer text
* @tip Make the body content text larger in size for better readability on small screens.
*/
.footerContent{
/*@editable*/ font-size:14px !important;
/*@editable*/ line-height:115% !important;
}
.footerContent a{display:block !important;} /* Place footer social and utility links on their own lines, for easier access */
}
</style>
</head>
<body leftmargin="0" marginwidth="0" topmargin="0" marginheight="0" offset="0">
<center>
<table align="center" border="0" cellpadding="0" cellspacing="0" height="100%" width="100%" id="bodyTable">
<tr>
<td align="center" valign="top" id="bodyCell">
<!-- BEGIN TEMPLATE // -->
<table border="0" cellpadding="0" cellspacing="0" id="templateContainer">
<tr>
<td align="center" valign="top">
<!-- BEGIN PREHEADER // -->
<table border="0" cellpadding="0" cellspacing="0" width="100%" id="templatePreheader">
<tr>
<td valign="top" class="preheaderContent" style="padding-top:10px; padding-right:20px; padding-bottom:10px; padding-left:20px;" mc:edit="preheader_content00">
Welcome to Unleash!
</td>
<!-- *|IFNOT:ARCHIVE_PAGE|* -->
<td valign="top" width="180" class="preheaderContent" style="padding-top:10px; padding-right:20px; padding-bottom:10px; padding-left:0;" mc:edit="preheader_content01">
Email not displaying correctly?<br /><a href="*|ARCHIVE|*" target="_blank">View it in your browser</a>.
</td>
<!-- *|END:IF|* -->
</tr>
</table>
<!-- // END PREHEADER -->
</td>
</tr>
<tr>
<td align="center" valign="top">
<!-- BEGIN HEADER // -->
<table border="0" cellpadding="0" cellspacing="0" width="100%" id="templateHeader">
<tr>
<td valign="top" class="headerContent">
<img src="https://cdn.getunleash.io/unleash_logo_600.png" style="max-width:600px;padding:1rem;" id="headerImage" mc:label="header_image" mc:edit="header_image" mc:allowdesigner mc:allowtext />
</td>
</tr>
</table>
<!-- // END HEADER -->
</td>
</tr>
<tr>
<td align="center" valign="top">
<!-- BEGIN BODY // -->
<table border="0" cellpadding="0" cellspacing="0" width="100%" id="templateBody">
<tr>
<td valign="top" class="bodyContent" mc:edit="body_content">
<h1>Welcome to Unleash {{ name }}!</h1>
<p>You have been invited to your organization's Unleash account - the new way of delivering software.</p>
{{# passwordLink }}
<p>Below is your magic sign-in link. Just click the button and follow the steps provided to update your password and get started using Unleash.</p>
<br />
<a class="resetPasswordLink" href="{{{ passwordLink }}}" target="_blank" rel="noopener noreferrer">Setup account<a/>
{{/ passwordLink }}
{{^ passwordLink }}
<p>Use the link below to access your Unleash instance.</p>
<br />
<a class="resetPasswordLink" href="{{{ unleashUrl }}}" target="_blank" rel="noopener noreferrer">Login<a/>
{{/ passwordLink }}
<br />
<br />
<p>By the way - did you know we have built Unleash on best practice when releasing new features. Our solution removes pressure from developers, allowing you to focus on delivering value through experimentation.</p>
<p>Looking forward to having a lot of fun together.</p>
</td>
</tr>
<tr>
<td valign="top" class="bodyContent" mc:edit="body_content">
<h2>Useful resources</h2>
<p>Once you are up and running, you might want to take a look at the following resources:</p>
<ul>
<li><a href="https://docs.getunleash.io" target="_blank" rel="noopener noreferrer">Documentation</a></li>
<li><a href="https://github.com/unleash" target="_blank" rel="noopener noreferrer">Code examples</a></li>
<li><a href="https://docs.getunleash.io/reference/sdks" target="_blank" rel="noopener noreferrer">SDKs</a></li>
</ul>
Best
<br />
Your Unleash team
</td>
</tr>
</table>
<!-- // END BODY -->
</td>
</tr>
<tr>
<td align="center" valign="top">
<!-- BEGIN FOOTER // -->
<table border="0" cellpadding="0" cellspacing="0" width="100%" id="templateFooter">
<tr>
<td valign="top" class="footerContent" mc:edit="footer_content00">
<a href="https://github.com/Unleash/unleash">Follow us on Github</a>
</td>
</tr>
<tr>
<td valign="top" class="footerContent" style="padding-top:0;" mc:edit="footer_content01">
<em>Copyright &copy; {{ year }} | Bricks Software | All rights reserved.</em>
<br />
<br />
<strong>Our mailing address is: team@getunleash.io</strong>
<br />
</td>
</tr>
</table>
<!-- // END FOOTER -->
</td>
</tr>
</table>
<!-- // END TEMPLATE -->
</td>
</tr>
</table>
</center>
</body>
</html>

View File

@ -1,29 +1,27 @@
Welcome to Unleash {{ name }}! Welcome to Unleash {{ name }}!
You have been invited to your organization's Unleash account - the new way of delivering software. You have been invited to your organization's Unleash account.
{{# passwordLink }} {{# passwordLink }}
Start using Unleash by clicking the sign-up link below. Follow the steps provided to set your password and get started.
Below is your magic sign-in link. Just click the button and follow the steps provided to update your password and get started using Unleash. {{{ passwordLink }}}
Visit {{{ passwordLink }}} to get started.
{{/ passwordLink }} {{/ passwordLink }}
{{^ passwordLink }}
Use the link below to access your Unleash instance: {{^ passwordLink }}
Start using Unleash by clicking the log in link below.
{{{ unleashUrl }}} {{{ unleashUrl }}}
{{/ passwordLink }} {{/ passwordLink }}
By the way - did you know we have built Unleash on best practice when releasing new features. Our solution removes pressure from developers, allowing you to focus on delivering value through experimentation. Once you're up and running, you might want to take a look at the following resources:
Looking forward to having a lot of fun together.
Useful resources: - Documentation: https://docs.getunleash.io
- Code examples: https://github.com/unleash
- SDKs: https://docs.getunleash.io/reference/sdks
- https://docs.getunleash.io Best,
- https://github.com/unleash Your Unleash team
- https://docs.getunleash.io/reference/sdks
Best By starting to use Unleash, you are agreeing to our Terms of Service: https://www.getunleash.io/terms-of-service
Your Unleash team This email was sent to {{ recipient }}