Base template for emails. Decorator for email functions to do nothing
when not in web context.