function to send contact mails + confirmation page