Added default email to all functions, updated some variable names for consistency, fixed function for default template creation