fixes send_mail var name
tests for utils.py