Revert "Funzione validate_mail"

This reverts commit 42399ab4818a4cad1544aecfb88960ba6c000b45.
Revert "Revert "Funzione validate_mail""

This reverts commit d3ee07c60fae29ef8b8915c3c4cc30c740c13453.