Some actions take a lot of time, like inviting a collaborator. The reason is that emails are being sent in transaction, and not being scheduled for later. This should be fixed in my opinion (and look into other areas were emails are not being scheduled but sent immediately). 3 reasons:
Bad idea to delay a transaction run for a background job to finish, which does not involve database
Even if email fails, the action still holds valid
Actions will become faster because they are not waiting for background job to finish
Some actions take a lot of time, like inviting a collaborator. The reason is that emails are being sent in transaction, and not being scheduled for later. This should be fixed in my opinion (and look into other areas were emails are not being scheduled but sent immediately). 3 reasons:
Bad idea to delay a transaction run for a background job to finish, which does not involve database Even if email fails, the action still holds valid
Actions will become faster because they are not waiting for background job to finish