Erlang smtp client