def METHOD_NAME():
    """Generate context for email templates
    As with the environment, we want a clean context for constructing
    emails. Most context processors just don't make sense in email.
    """
    ctx = {}
    for func in app.template_context_processors[None]:
        ctx.update(func())
    # We don't need things like request and session for emails
    context_to_copy = [
        "external_url",
        "simple_dates",
        "event_start",
        "event_end",
        "event_year",
    ]
    ctx = {k: ctx[k] for k in context_to_copy}
    return ctx