Ported localization of mailboxed from this commit :
https://github.com/nu7hatch/gmail/commit/b9f134f379f652688b27b015b734cfa1c4dbc84e

Ported the extraction of the thread id from this commit :
https://github.com/90seconds/gmail/commit/650f5968e591e6d320d391ac278c690e39854841