message delivery system written in Erlang