We\'re using Mailgun\'s ID as the unique key for messages in our DB, so when we get mail events from Mailgun such as "delivered", we can update our DB in real time.