Using your script on a shared account is very limited.
I try to using your script on namecheap using theyr PrivateEmail https://www.namecheap.com/hosting/email/
I setup an account (email@example.com) and set it to be catch all emails. But if i send emails from outlook.com for example all mails are going to spam and are not visibile by your script. I don't know why.
If the emails are going to spam OR emails are not being received by your system, is out of TMail's domain. Please understand, what TMail does is just fetch the emails from your Inbox. So, I suggest you take this conversation up with your email provider. I'm sure their must be a way that they can set a filter or something which will make all the emails come to Inbox.
I hope, I'm able to explain this. Please let me know if you still have questions about this.