{% autoescape off %} Hi {{ user.username }}, Please click on the link to confirm your email, http://{{ domain }}{% url 'activate' uidb64=uid token=token %} {% endautoescape %}