backported changes from https://github.com/YourNetWorks/kroogi/commit/947c45646e7a4b71392429d7c8a3f1fd318c19cd:
{{{
Sometimes subject is encoded wrong in Prod, and cannot be decoded, which results in error emails not being delivered.
}}}