ejabberd email notification service (training project)