# Welcome email not sent when adding user from console

**URL:** <https://meta.discourse.org/t/welcome-email-not-sent-when-adding-user-from-console/59765>\
**Category:** Product Support\
**Created:** [23 مارس 2017، 1:36م UTC](https://meta.discourse.org/t/welcome-email-not-sent-when-adding-user-from-console/59765 "2017-03-23T13:36:02Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![nordize](https://avatars.discourse-cdn.com/v4/letter/n/c68b51/32.png) [@nordize](https://meta.discourse.org/u/nordize)\
**Post date:** [23 مارس 2017، 6:48م UTC](https://meta.discourse.org/t/welcome-email-not-sent-when-adding-user-from-console/59765/4 "2017-03-23T18:48:44Z")

</div>

I want to do it from the console with predefined usernames, and force users to only chose a password (I don’t want them to choose the username, the setting `username change period` is set to 0). I don’t think invites help me in this context …

Is there no way to trigger a “choose a password” email from the console?

I tried to to use `Jobs.enqueue()`, similarly to how it’s used in `User.send_approval_email()` [here](https://github.com/discourse/discourse/blob/e8fc8f0bb644f97d0adb535fdfbb352bce26c2a1/app/models/user.rb#L1022) but I failed at generating an email hash

---

_[View the full topic](https://meta.discourse.org/t/welcome-email-not-sent-when-adding-user-from-console/59765)._
