{% autoescape off %}{% if invite.invited_by %}{{ invite.invited_by.username }} invited you{% else %}You're invited{% endif %} to join {{ invite.org.name }} on Intent as {{ invite.get_role_display|lower }}. Accept or decline: {{ url }} This link expires on {{ invite.expires_at|date:"j F Y" }}. If you weren't expecting it, you can ignore this email. {% endautoescape %}