Does Mail log errors into a console or text file? Does Mail log errors into a console or text file somewhere?
Start with:

/var/log/mail.log


most easily viewed with /Applications/Utilities/Console.app