The sendmail functionality got broken in recent refactoring to the email module. The call to sendmail was passing from_addr and to_addrs in the wrong order. This has been fixed. Issue #13292