introduce send mail error feedback

refs https://github.com/owncloud/mail/issues/67

@jancborchardt