display error if e-mail could not be sent