Use two Laravel features:
- Dispatch all jobs at the end of transaction (after commit)
- Make User/UpdateJob unique in the queue, i.e. there will be no new jobs added to the queue for specific user if there's another job in there already (unless it's older than 60 seconds). It will limit how often we connect to IMAP/LDAP.