Apple Mail is Crashing when OpenHaystack App is active
Describe the bug After enabling plugin, If I launch OpenHaystack App with Mail opened (or vice versa) Mail crashes
To Reproduce Steps to reproduce the behavior:
- Launch Mail
- Launch OpenHaystack
Expected behavior Mail not crashing
Screenshots

OpenHaystack version: OpenHaystack Version 0.3.7 (1)
macOS version: Mail Version 14.0 (3654.100.0.2.22) macOS Version 11.4 (20F71) on a MacBook Pro (15-inch, Mid 2012)
Additional context Crash log attached mail_crash.txt
Not sure if you're still looking into this but I think this is caused by not having an iCloud email. Do you have a iCloud email account setup with Apple Mail?
Ahh great idea! I never tried it without iCloud Mail and it also never crashed for me. That could actually be an issue! So OpenHaystack accesses tokens from your iCloud account. Without iCloud Mail those might never be available. I'm not sure what exactly would cause the crash, but it seems to be related
@Sn0wfreezeDev so iCloud Mail is mandatory? Is there a way to bypass it?
Hi.
I was trying to use OpenHayStack on m1 MacBook Pro.
I am facing the same issue.
MacOS 12.2 Mail 15
My icloud use another e-mail provider.
Is that necessary to use icloud mail ?
I havé tried to compile the app and the mail bundle. The app run but the bundle Say not good uuid for mail.
If i use precompiled binary of the bundle mail crash like in this Topic.
Any suggestion maybe ?
I would like to say thanks a lot for you Work !