Adding support for mailing + improving exemple of config