When attempting to install on a site with over 10k users Im getting server timeouts and all the email entities are not created for each user.
Use a batch process in hook_install() when looking through all the user accounts.
I have a MR coming.
Active
2.0
Code