diff --git a/app/config.py b/app/config.py index 2bc892fe..731a923a 100644 --- a/app/config.py +++ b/app/config.py @@ -389,3 +389,5 @@ try: COINBASE_YEARLY_PRICE = float(os.environ["COINBASE_YEARLY_PRICE"]) except Exception: COINBASE_YEARLY_PRICE = 30.00 + +REDDIT_URL = "https://www.reddit.com/r/Simplelogin/" diff --git a/app/email_utils.py b/app/email_utils.py index 23332899..f64465e7 100644 --- a/app/email_utils.py +++ b/app/email_utils.py @@ -37,6 +37,7 @@ from app.config import ( EMAIL_DOMAIN, ALERT_DIRECTORY_DISABLED_ALIAS_CREATION, TRANSACTIONAL_BOUNCE_EMAIL, + REDDIT_URL, ) from app.dns_utils import get_mx_domains from app.extensions import db @@ -85,8 +86,8 @@ def send_welcome_email(user): send_email( to_email, f"Welcome to SimpleLogin", - render("com/welcome.txt", user=user, alias=alias), - render("com/welcome.html", user=user, alias=alias), + render("com/welcome.txt", user=user, alias=alias, reddit_url=REDDIT_URL), + render("com/welcome.html", user=user, alias=alias, reddit_url=REDDIT_URL), unsubscribe_link, via_email, ) diff --git a/templates/emails/com/welcome.html b/templates/emails/com/welcome.html index 9db5a117..34389b54 100644 --- a/templates/emails/com/welcome.html +++ b/templates/emails/com/welcome.html @@ -13,9 +13,9 @@ {% endcall %} {% call text() %} - This alias is automatically created for receiving SimpleLogin news and tips - - feel free to disable it if you don't need any of - these. + This alias is automatically created for receiving SimpleLogin news and tips.
+ In the next coming days, we'll send you 3 emails to help you get the best out of SimpleLogin.
+ Please disable it if you don't need this. {% endcall %} {% endif %} @@ -28,7 +28,7 @@ If you are using Firefox or a Chromium-browser like Chrome, Edge, Brave, you can install our Firefox add-on or Chrome extension - to create aliases in one click (literally). + to create aliases in one click (like in the below gif 👇). {% endcall %} {% call text() %} @@ -39,7 +39,7 @@ SimpleLogin is also available on Android and iOS - so you can create new aliases on the fly. + so you can easily create new aliases on the go. {% endcall %} {% if user.in_trial() and user.trial_end %} @@ -53,14 +53,12 @@ {% endif %} {% call text() %} - At any time, you can reach out to us by:
- + Feel free to join our Reddit to ask any question or to have updates about our latest features.
+ If you don't have a Reddit account, this is an occasion to create a new alias 😉. {% endcall %} + {{ render_button("Join SimpleLogin on Reddit", reddit_url) }} + {% call text() %} SimpleLogin Team. {% endcall %}