# Changing Email address of unregistered account for activation

**URL:** <https://meta.discourse.org/t/changing-email-address-of-unregistered-account-for-activation/66615>\
**Category:** Bug\
**Created:** [21 يوليو 2017، 8:09م UTC](https://meta.discourse.org/t/changing-email-address-of-unregistered-account-for-activation/66615 "2017-07-21T20:09:22Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![youwiki](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/youwiki/32/89936_2.png) [@youwiki](https://meta.discourse.org/u/youwiki)\
**Post date:** [21 يوليو 2017، 8:09م UTC](https://meta.discourse.org/t/changing-email-address-of-unregistered-account-for-activation/66615/1 "2017-07-21T20:09:22Z")

</div>

Hello!  
If we change email for activation registered account too quiqly then `enqueue_activation_email` method of `users_controller` enqueue job without delay, so we got message to old email. May be it should be something that:

> Jobs.enqueue\_in(2.second, :critical\_user\_email, type: :signup, user\_id: @user.id, email\_token: @email\_token.token)

or may be it possible to set low priority to that job?  
Thanks!

---

_[View the full topic](https://meta.discourse.org/t/changing-email-address-of-unregistered-account-for-activation/66615)._
