Implements contact form functionality