Mail Box reading in different languages

I have a requirement where my bot needs to read mail from the inbox. It is working on a machine where the user is english. Now if I run the same on another machine where the user language is non-english, the selector for reading the mail box is not getting spyed because the inbox configuration itself is in the language specific to the user. Similarly for Spain, japanese,etc… Kindly provide pointers on the same. It will be very helpful.