Custom mail

an interface to send mail.

Replace the php `mail()` function.

If you decide to merge this branch, I will update the `users_admin` branch with the `custom_mail()` function.

Let me know,

Best,

Edouard