I'm using the Amazon sdk for php to send emails through the Simple Email Service all this using Lumen Framework.
I'm using the client class of the sdk instead of the mailables classes of Laravel because I need to add some metadata to my emails the problem comes when I try to push the emails to a queue because the SesClient from the AWS sdk forbids the serialization and Laravel/Lumen uses this function to create the queue
I tried to wrap the class but it didn't work also I found some package to use the SesClient but none of them allows me to add metadata
I'm open to all kind of solutions, if you need more info just let me know and I will answer the questions
Thanks in advance