<%if (format === 'text') { %>

Dear <%= user.displayName || user.username || user.alternateEmail || user.email %>,

Welcome to <%= cloudronName %>!

Follow the link to get started.
<%= setupLink %>

<% if (invitor && invitor.email) { %>
You are receiving this email because you were invited by <%= invitor.email %>.
<% } %>


Powered by https://cloudron.io

<% } else { %>

<center>

<img src="<%= cloudronAvatarUrl %>" width="128px" height="128px"/>

<h3>Hi <%= user.displayName || user.username || user.alternateEmail || user.email %>,</h3>

<h2>Welcome to <%= cloudronName %>!</h2>

<p>
    <a href="<%= setupLink %>">Get started</a>.
</p>

<br/>
<br/>

<div style="font-size: 10px; color: #333333; background: #ffffff;">
    <% if (invitor && invitor.email) { %>
        You are receiving this email because you were invited by <%= invitor.email %>.
    <% } %>

    <br/>

    Powered by <a href="https://cloudron.io">Cloudron</a>
</div>

</center>

<img src="https://analytics.cloudron.io/piwik.php?idsite=2&rec=1&e_c=CloudronEmail&e_a=welcomeUser" style="border:0" alt="" />

<% } %>
