chapter 16 : sending an email (complete)