{% extends "base.html" %}

{% block content %}

  {% call text() %}
    <h1>Secure your emails with PGP.</h1>
  {% endcall %}

  {% call text() %}
    If you use Gmail, Yahoo, Outlook, etc, you might want to use
    <a href="https://en.wikipedia.org/wiki/Pretty_Good_Privacy">PGP</a>
    (Pretty Good Privacy)
    to make sure your emails can't be read by these email providers.
  {% endcall %}

  {% call text() %}
    Without PGP, emails are stored <b>in plaintext</b> leaving your email service able to read your emails.
  {% endcall %}

  <img src="https://simplelogin.io/blog/without-pgp.png"
       alt="Without PGP"
       style="max-width: 100%;
              margin-bottom: 10px">
  {% call text() %}
    With PGP enabled, SimpleLogin <b>encrypts</b> your emails with your public key before forwarding to your mailbox.
  {% endcall %}

  <img src="https://simplelogin.io/blog/with-pgp.png"
       alt="Without PGP"
       style="max-width: 100%;
              margin-bottom: 20px">
  {{ render_button("Enable PGP on your mailbox", URL ~ "/dashboard/mailbox/" ~ user.default_mailbox_id) }}
  {{ raw_url(URL ~ "/dashboard/mailbox/" ~ user.default_mailbox_id) }}
{% endblock %}
{% block footer %}

  This email is sent to {{ to_email }} and is part of our onboarding series. Unsubscribe on
  <a href="{{ URL }}/dashboard/setting#notification">Settings</a>
{% endblock %}
