I can send emails and check my Inbox which is great, but here's the problem, I can't do both in the same program. To make it work I have to comment out either checkMail(), or sendMail(). It doesn't matter if I checkMail() then sendMail() or vice-versa, or move the calls to the draw() routine and add a delay in between. This means that for me at least, Daniel's example won't run. Does anyone have any suggestions on how to get both send and receive working in the same program.
A couple of things worth noting, I've updated the Auth information and all the pertinent addresses with my own, and fixed a sendMail() issue by updating the SMTP properties as suggested by Sebastien in the comments of Daniel's tutorial. Other than these changes, I haven't changed anything, so I haven't attached my code since it is the same as is available on the link.