code: def get_email_context(self, activation_key):
          
          scheme = 'https' if self.request.is_secure() else 'http'
          return {
              'scheme': scheme,
              'activation_key': activation_key,
              'expiration_days': settings.ACCOUNT_ACTIVATION_DAYS,
              'site': get_current_site(self.request)
          }
docs: Build the template context used for the activation email.