'Sends an email to confirm the new email address.
This method sends out two emails. One to the new email address that
contains the ``email_confirmation_key`` which is used to verify this
this email address with :func:`UserenaUser.objects.confirm_email`.
The other email is to the old email address to let the user know that
a request is made to change this email address.'

def send_confirmation_email(self):

    context = {'user': self.user, 'without_usernames': userena_settings.USERENA_WITHOUT_USERNAMES, 'new_email': self.email_unconfirmed, 'protocol': get_protocol(), 'confirmation_key': self.email_confirmation_key, 'site': Site.objects.get_current()}
    mailer = UserenaConfirmationMail(context=context)
    mailer.generate_mail('confirmation', '_old')
    if self.user.email:
        mailer.send_mail(self.user.email)
    mailer.generate_mail('confirmation', '_new')
    mailer.send_mail(self.email_unconfirmed)
