raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.02k stars 2.74k forks source link

[Apple Mail] Doesn't work with non-english accounts #12994

Open mjsarfatti opened 2 weeks ago

mjsarfatti commented 2 weeks ago

Extension

https://www.raycast.com/yug2005/mail

Raycast Version

1.76.0

macOS Version

Version 14.5 (23F79)

Description

I have two Gmail accounts connected to Mail, one that was created in my native language (Italian), and the second created in English. When I try to Archive or Trash a message in my Italian account I get an error (it doesn't find the correct folder, see attached image). When I do the same in my english account it works perfectly. I assume there might be a problem in extensions/mail/src/utils/mailbox.ts, similar to #7087.

Steps To Reproduce

  1. Create a Gmail account in a language other than English
  2. Add the account to Mail (Mail > Add Account...)
  3. In Raycast, use the See Recent Mail command
  4. Try to trash (Shift-Command-T) or archive a message (Shift-Command-A)
Screenshot 2024-06-17 at 16 26 57

Current Behaviour

No response

Expected Behaviour

No response

raycastbot commented 2 weeks ago

Thank you for opening this issue!

🔔 @yug2005 @ikupenov @pernielsentikaer @fengtianze @tleo19 @Luk4h @StevenRCE0 you might want to have a look.

💡 Author and Contributors commands The author and contributors of `yug2005/mail` can trigger bot actions by commenting: - `@raycastbot close this issue` Closes the issue. - `@raycastbot rename this issue to "Awesome new title"` Renames the issue. - `@raycastbot reopen this issue` Reopens the issue. - `@raycastbot assign me` Assigns yourself to the issue. - `@raycastbot good first issue` Adds the "Good first issue" label to the issue. - `@raycastbot keep this issue open` Make sure the issue won't go stale and will be kept open by the bot.