Added mail form functionality