added flask testing, some boilerplate code for testing, and full tests for /emails
moved tests to a separate directory and started reading confiugurations from config.py
added test coverage for /email