Add new test for email actions. #600