Merge pull request #18243 from JoshCheek/mailer_guide_code_example

Guide for Action Mailer Basics: Un-inline if statement [ci skip]