Sending an email and the html tag for the URL is showing.
{% load static %}
{% autoescape off %}
Hello {{ user.username }},
Please click the link below to activate your account:
{% block reset_link %}
<a href="http://{{ domain }}{% url 'activate' uidb64=uid token=token %}">Activate your account"></a>
{% endblock %}
{% endautoescape %}
Hello gasgfgg,
Please click the link below to activate your account:
<a href="http://127.0.0.1:8000/accounts/activate/MTIw/bvnglz-21b1dc9189fdde038644cab2558433cb/">Activate your account"></a>
The code shows like this in email.