removed gen_server and added callback fn for smtp response