modified to use request context when sending email

This pull request adds support for adding more context to the activation email template. This is helpful since the new template will require the STATIC_URL for images.