Add email.py and mail folder to templates

I’ve added an email function to be eventually used in views to send
various emails. Current intended use is to send a welcome email when a
user registers.