Added mailing functionality and login templates

TO DO:
No login functionality present yet. Set up SMTP credentials as fields
in wp-admin.