Fix D577 patch bug - modules._sendmail result assign to variable, which is used to log the result of email sending.
Summary: Define success variable to hold the _sendmail result.
Test Plan: none
Reviewers: vanmeeuwen, machniak
Reviewed By: machniak
Subscribers: petersen
Differential Revision: https://git.kolab.org/D581