#37 adding tests for email flexibility