I need an entitlement to read mail directories

an app for my own personal use, that i wrote for myself only, to scan my mail directories located here:

/Users/<me>/Library/Mail/V6/5EE63FCA-BB6F-4394-BCE0-xxxxxxx/Inbox.mbox"


etc. when i do "getcatinfobulk" i get "afpAccessDenied"


i only need read access. I added my app into "whole disk access" in system prefs->security->privacy, but still get same error

Replies

AFAIK, it is not possible, for obvious data security risk.

Read this: https://stackoverflow.com/questions/54512908/how-to-programmatically-read-a-mail-message-in-ios


In the case of your own app, may be that would not be a problem. But if it were possible for it, it could be possible for others, which would be a real security weakness.