does some basic input validation, creates new A record and sends email