I would like to log my mail sends to the database for general logging as well as link/open tracking as provided by mailgun.
I am using the
Illuminate\Mail\Events\MessageSent event and can get the swift mailer object from here and general email components. I can't however work out how to get the mailgun response and mailgun message id which is required for the link and open tracking.
Does anyone know how I may get this logged along with the message?