Implemented the most satisfying queue logic ever. It merges new changes with any existing changes to the same message that are in the queue. Then, when sending the changes to Gmail, it automatically calculates which changes to different messages in the queue are similar and then batches them together to reduce requests. This is why I love programming, I feel so good right now πŸ€“