Modified schema
Move mailer settings to config file
Use built-in utils instead
Small changes