When writing an email to a new staged user, Discobot sends the welcome email

(Felix Freiberger) #1

Reproduction steps:

  1. Set discourse narrative bot welcome post type to Send all new users a welcome message with a quick start guide.
  2. Let test@example.invalid be an email address that does not belong to any user.
  3. Send a new message to test@example.invalid.

Expected results: The user receives one email, notifying him of the post.

Actual results: The user receives both the notification email for the post and a notification email for the welcome post from Discobot