Add sample email and update test code