remove dependency on smtp (close #12)