MIRA_LABS_AI / demo-backend /loan-service /seed_data /email_template_seed_data.py
ans123's picture
Initial upload from Colab
ef1ad9e verified
email_template_data = [
{
"name": "Reset Email",
"template": """<!DOCTYPE html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Email Updated. Reset your MIRA Account Password!</title>
</head>
<body>
<h1>Hello {{ first_name }},</h1>
<p>
You email has been updated from <strong>{{old_email}}</strong> to
<strong>{{new_email}}</strong>
</p>
<p>To set your password, please click on the link below:</p>
<p>
<a href="{{ password_url }}" target="_blank">
Click here to setup your password.
</a>
</p>
<br />
<p>Best,</p>
<p>Team Mira</p>
</body>
</html>
""",
"templateCode": "email_reset",
"subject": "MIRA | Email Reset Successfully"
},
{
"name": "Reset Password",
"template": """<!DOCTYPE html>
<html lang="en">
<head> </head>
<body>
<table
style="
width: 600px;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
mso-table-lspace: 0pt;
mso-table-rspace: 0pt;
margin: 0;
padding: 0;
font-family: 'ProximaNova', sans-serif;
border-collapse: collapse !important;
height: 100% !important;
"
align="left"
border="0"
cellpadding="0"
cellspacing="0"
height="100%"
width="100%"
id="bodyTable"
>
<tr>
<td
align="left"
valign="top"
id="bodyCell"
style="
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
mso-table-lspace: 0pt;
mso-table-rspace: 0pt;
margin: 0;
padding: 20px;
font-family: 'ProximaNova', sans-serif;
height: 100% !important;
"
>
<div class="main">
<p
style="
text-align: left;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
margin-bottom: 30px;
background-color: #d7dfff;
border-radius: 5px;
padding-left: 10px;
"
>
<img
src="https://i.ibb.co/L93tB14/mira.png"
width="80"
alt="Your logo goes here"
style="
-ms-interpolation-mode: bicubic;
border: 0;
height: auto;
line-height: 100%;
outline: none;
text-decoration: none;
margin-top: 5px;
"
/>
</p>
<p>Dear {{ first_name }},</p>
<br />
<p style="margin: 0 !important; padding: 0 !important">
We received a request to reset your password for your MIRA
account. To create a new password, please click the button below:
</p>
<br />
<p
style="
text-align: left;
margin: 0 !important;
padding: 0 !important;
"
>
<a
href="{{ password_url }}"
style="
text-decoration: none;
color: white;
background: #365dff;
padding: 10px 10px;
outline: none;
border: none;
border-radius: 10px;
"
>Reset Password</a
>
</p>
<br />
<p style="margin: 0 !important; padding: 0 !important">
If you did not request this change, please contact our support
team immediately at
<a href="mailto:[email protected]">[email protected].</a>
</p>
<br />
<p style="margin: 0 !important; padding: 0 !important">
If you are unable to click the button above, please copy and paste
the following link into your browser to reset your password:
</p>
<br />
<p style="margin: 0 !important; padding: 0 !important">
<a href="{{ password_url }}" style="text-decoration: none"
>{{ password_url }}</a
>
</p>
<br />
<p style="margin: 0 !important; padding: 0 !important">
For any further assistance, feel free to reach out to our support
team.
</p>
<p style="margin: 5px 0 !important; padding: 0 !important">
<br />
Best regards,
<br />
<br />
The MIRA Team
<br />
<a href="http://www.miralabs.ai/">www.miralabs.ai</a>
</p>
<div style="background-color: #f5f5f5; padding: 20px 0px">
<p
style="
text-align: center;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
border-radius: 5px;
padding-left: 10px;
margin: 0;
padding: 0;
"
>
<img
src="https://i.ibb.co/L93tB14/mira.png"
width="80"
alt="Your logo goes here"
style="
-ms-interpolation-mode: bicubic;
border: 0;
height: auto;
line-height: 100%;
outline: none;
text-decoration: none;
margin-top: 5px;
"
/>
</p>
<p style="text-align: center; margin: 0; padding: 0">
<a
href="https://x.com/miralabsai"
target="_blank"
style="text-decoration: none"
><img
src="https://miraproduction.blob.core.windows.net/assets/x-bg.svg"
width="18px"
alt="Your logo goes here"
style="
-ms-interpolation-mode: bicubic;
border: 0;
height: auto;
line-height: 100%;
outline: none;
text-decoration: none;
margin-top: 5px;
margin-left: 5px;
margin-right: 5px;
"
/></a>
<a
href="https://www.linkedin.com/company/miralabs-ai"
target="_blank"
style="text-decoration: none"
><img
src="https://miraproduction.blob.core.windows.net/assets/linkedin.svg"
width="18px"
alt="Your logo goes here"
style="
-ms-interpolation-mode: bicubic;
border: 0;
height: auto;
line-height: 100%;
outline: none;
text-decoration: none;
margin-top: 5px;
margin-left: 5px;
margin-right: 5px;
"
/>
</a>
<a
href="https://www.facebook.com/miralabsai/"
target="_blank"
style="text-decoration: none"
>
<img
src="https://miraproduction.blob.core.windows.net/assets/facebook.svg"
width="18px"
alt="Your logo goes here"
style="
-ms-interpolation-mode: bicubic;
border: 0;
height: auto;
line-height: 100%;
outline: none;
text-decoration: none;
margin-top: 5px;
margin-left: 5px;
margin-right: 5px;
"
/>
</a>
</p>
<p
style="
text-align: center;
color: #a9b3bc;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
font-size: 12px;
"
>
Copyright © 2024 MIRA LABS LLC | All rights reserved
</p>
</div>
</div>
</td>
</tr>
</table>
</body>
</html>
""",
"templateCode": "reset_password",
"subject": "MIRA | Reset Password"
},
{
"name": "Welcome Email",
"template": """<!DOCTYPE html>
<html lang="en">
<head> </head>
<body>
<table
style="
width: 600px;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
mso-table-lspace: 0pt;
mso-table-rspace: 0pt;
margin: 0;
padding: 0;
font-family: 'ProximaNova', sans-serif;
border-collapse: collapse !important;
height: 100% !important;
"
align="left"
border="0"
cellpadding="0"
cellspacing="0"
height="100%"
width="100%"
id="bodyTable"
>
<tr>
<td
align="left"
valign="top"
id="bodyCell"
style="
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
mso-table-lspace: 0pt;
mso-table-rspace: 0pt;
margin: 0;
padding: 20px;
font-family: 'ProximaNova', sans-serif;
height: 100% !important;
"
>
<div class="main">
<p
style="
text-align: left;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
margin-bottom: 30px;
background-color: #d7dfff;
border-radius: 5px;
padding-left: 10px;
"
>
<img
src="https://i.ibb.co/L93tB14/mira.png"
width="80"
alt="Your logo goes here"
style="
-ms-interpolation-mode: bicubic;
border: 0;
height: auto;
line-height: 100%;
outline: none;
text-decoration: none;
margin-top: 5px;
"
/>
</p>
<p>Dear {{ first_name }},</p>
<br />
<p style="margin: 0 !important; padding: 0 !important">
Welcome to MIRA! Your loan officer has initiated your onboarding
process. To complete your profile and traverse through the AI
assisted simplified mortgage journey, please create a password by
clicking the button below:
</p>
<br />
<p
style="
text-align: left;
margin: 0 !important;
padding: 0 !important;
"
>
<a
href="{{ password_url }}"
style="
text-decoration: none;
color: white;
background: #365dff;
padding: 10px 10px;
outline: none;
border: none;
border-radius: 10px;
"
>Reset Password</a
>
</p>
<br />
<p style="margin: 0 !important; padding: 0 !important">
If you are unable to click the button above, please copy and paste
the following link into your browser to create your password:
</p>
<br />
<p style="margin: 0 !important; padding: 0 !important">
<a href="{{ password_url }}" style="text-decoration: none"
>{{ password_url }}</a
>
</p>
<br />
<p style="margin: 0 !important; padding: 0 !important">
Once you have created your password, you'll be guided through the
rest of the profile completion process and other steps. We're
excited to help you on your mortgage journey with MIRA!
</p>
<br />
<p style="margin: 0 !important; padding: 0 !important">
If you have any questions or need assistance, feel free to reach
out to us at
<a href="mailto:[email protected]">[email protected].</a>
</p>
<br />
<p style="margin: 5px 0 !important; padding: 0 !important">
<br />
Best regards,
<br />
<br />
The MIRA Team
<br />
<a href="http://www.miralabs.ai/">www.miralabs.ai</a>
</p>
<div style="background-color: #f5f5f5; padding: 20px 0px">
<p
style="
text-align: center;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
border-radius: 5px;
padding-left: 10px;
margin: 0;
padding: 0;
"
>
<img
src="https://i.ibb.co/L93tB14/mira.png"
width="80"
alt="Your logo goes here"
style="
-ms-interpolation-mode: bicubic;
border: 0;
height: auto;
line-height: 100%;
outline: none;
text-decoration: none;
margin-top: 5px;
"
/>
</p>
<p style="text-align: center; margin: 0; padding: 0">
<a
href="https://x.com/miralabsai"
target="_blank"
style="text-decoration: none"
><img
src="https://miraproduction.blob.core.windows.net/assets/x-bg.svg"
width="18px"
alt="Your logo goes here"
style="
-ms-interpolation-mode: bicubic;
border: 0;
height: auto;
line-height: 100%;
outline: none;
text-decoration: none;
margin-top: 5px;
margin-left: 5px;
margin-right: 5px;
"
/></a>
<a
href="https://www.linkedin.com/company/miralabs-ai"
target="_blank"
style="text-decoration: none"
><img
src="https://miraproduction.blob.core.windows.net/assets/linkedin.svg"
width="18px"
alt="Your logo goes here"
style="
-ms-interpolation-mode: bicubic;
border: 0;
height: auto;
line-height: 100%;
outline: none;
text-decoration: none;
margin-top: 5px;
margin-left: 5px;
margin-right: 5px;
"
/>
</a>
<a
href="https://www.facebook.com/miralabsai/"
target="_blank"
style="text-decoration: none"
>
<img
src="https://miraproduction.blob.core.windows.net/assets/facebook.svg"
width="18px"
alt="Your logo goes here"
style="
-ms-interpolation-mode: bicubic;
border: 0;
height: auto;
line-height: 100%;
outline: none;
text-decoration: none;
margin-top: 5px;
margin-left: 5px;
margin-right: 5px;
"
/>
</a>
</p>
<p
style="
text-align: center;
color: #a9b3bc;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
font-size: 12px;
"
>
Copyright © 2024 MIRA LABS LLC | All rights reserved
</p>
</div>
</div>
</td>
</tr>
</table>
</body>
</html>
""",
"templateCode": "welcome_email",
"subject": "MIRA | Welcome to MIRA"
},
{
"name": "Mortgage Quotation Email",
"template": """<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Your mortgage quote details">
<title>Your Mortgage Quote</title>
</head>
<body>
<div style="background-color: #FFFFFF !important;">
<table width="100%" cellpadding="0" cellspacing="10" border="0"
style="font-family: Arial, sans-serif; width: 100%;">
<tr>
<td style="border-radius: 10px; background-color: #D7DFFF; padding: 20px; min-height: 70px; font-size: 20px; font-weight: 600;">
MIRA
</td>
</tr>
<!-- Spacer Row for Margin -->
<tr>
<td height="20px" style="line-height: 20px;">&nbsp;</td>
</tr>
<tr>
<td style="font-size: 25px; font-weight: 600;">Your Mortgage Quote #{{ quote_id }}</td>
</tr>
<!-- Spacer Row for Margin -->
<tr>
<td height="20px" style="line-height: 20px;">&nbsp;</td>
</tr>
<tr>
<td style="font-size: 16px;">
Dear {{ client_name }},
</td>
</tr>
<tr>
<td style="font-size: 16px;">
Thank you for taking the time to get your quote and considering me for your home mortgage needs.
<br /><br />
I have put together a quote proposal for your review based on your requirements. We're known for
closing loans faster than other lenders, so I want to walk you through the next steps so we can
streamline your funding.
</td>
</tr>
<!-- Spacer Row for Margin -->
<tr>
<td height="10px" style="line-height: 20px;">&nbsp;</td>
</tr>
<!-- <tr>
<td style="font-size: 16px;">
<a href="{{ quote_link }}">
Click here to download the quote.
</a>
</td>
</tr>
<tr>
<td height="10px" style="line-height: 20px;">&nbsp;</td>
</tr> -->
<tr>
<td style="font-size: 16px;">
Again, thanks for taking the time to get your quote. If you have any questions along the way, please
don't hesitate to reach out.
</td>
</tr>
<!-- Spacer Row for Margin -->
<tr>
<td height="10px" style="line-height: 20px;">&nbsp;</td>
</tr>
<tr>
<td style="font-size: 16px;">
Sincerely,
</td>
</tr>
<tr>
<td style="font-size: 16px;">
{{ loan_officer_name }}<br>
Loan Officer<br>
NMLS #{{ loan_officer_nmls_id }}<br>
{{ loan_officer_mobile_number }} | {{ loan_officer_email }}
</td>
</tr>
</table>
</div>
</body>
</html>""",
"templateCode": "quote_email",
"subject": "MIRA | Quote Generated"
},
]