When 31035010af was done it failed to take into account the case where the smtp_enabled site setting was true, but the topic had no allowed groups / no incoming email record, which caused errors for topics even with nothing to do with group SMTP.
31035010af
reply_to_user_id