Added stack trace to error email.