Coming from the sudo() modification. The mail.message is created in sudo, but the user is still the public user, who doesn't have a email address, leading to an raised error.
Coming from the sudo() modification. The mail.message is created in sudo, but the user is still the public user, who doesn't have a email address, leading to an raised error.