fix tests and create a bldr task to send email