I posted a week ago about how to debug your email library :
https://community2.invoiceplane.com/t/topic/7183/6