Added mail submit form functionality