Test email action.