implemented email sending, added config.py for configuration