fixed pylint for send_email; added test case for missing variable in add_config