Changed credentials to enviroment variables, implimented get_all_emails