def email_context(request, application, message=None):
    """
    Return a dictionary with the context to be used when constructing
    email messages about this application from a template.
    """
    fa_app_url = request.build_absolute_uri(application.fa_app_url())
    context = {
        'user': request.user,
        'message': message,
        'application': application,
        'applicant': application.user,
        'fa_app_url': fa_app_url,
    }
    return context