Replace al the if != nil with the ! and nil? method.
Create and fix text mails