I am using sidekiq to queue emails to be sent. I have set the queue to 1 concurrences so that it is forced to work on each job one by one. However one in six times the emails are received in the wrong order. For example: I have email A and email B, in the code I am queueing email A first and then email B. The queue is processing the jobs in the correct order (i have checked this) but the emails (sometimes not always) received are in the wrong order, email B and then email A. Is there a way to set prioritization with sendgrid for emails? I have looked through the sendgrid-ruby but couldn't find anything that will help.
No there is no way to set email prioritization/queueing through the API or the helper libraries. For further help with this issue, I recommend reaching out to support.
Issue Summary
I am using sidekiq to queue emails to be sent. I have set the queue to 1 concurrences so that it is forced to work on each job one by one. However one in six times the emails are received in the wrong order. For example: I have email A and email B, in the code I am queueing email A first and then email B. The queue is processing the jobs in the correct order (i have checked this) but the emails (sometimes not always) received are in the wrong order, email B and then email A. Is there a way to set prioritization with sendgrid for emails? I have looked through the sendgrid-ruby but couldn't find anything that will help.
Steps to Reproduce
Technical details: