Correction for issue #2388. Updated _build_message() to return a boolean. This prevents email from sending if there is an error trying to attach an attachment to the email.
Change boolean to bool.
Added whitespace.
Added to the changelog.
Merge pull request #2413 from buhay/develop

Correction for issue #2388.