Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Cannot Pull Addressees from Contacts

#3405

I have tried multiple versions of MailMate, but this problem persists: I have connected Contacts to Mailmate and granted the required permissions. I am even able to see Contacts groups when creating rules/filters. However, MailMate cannot access my Contacts. When I try to address an email, it only pulls from existing email - never from my Contacts. And, the rules/filters I've created based on an address being in a particular Contacts group do not work at all. Help!!!

I'm currently in Version 1.14 (6065), having upgraded from 6065 to see if it would fix the problem.

I have turned MailMate's Contacts access off and on in the System preferences, and this didn't change anything.

Reported by Rochelle Broder-Singer · November 19th, 2024 @ 08:36 PM

State: fixcommitted
Milestone: none
Assigned to: benny benny

Activity

  1. Rochelle Broder-Singer
    Rochelle Broder-Singer

    Any update on this? It makes MailMate very challenging to use.

    December 16th, 2024 @ 10:05 PM

  2. Rochelle Broder-Singer
    Rochelle Broder-Singer

    I entered "tccutil reset AddressBook" in the terminal. Of course, resetting all permissions for accessing Contacts caused several apps to crash. It also presented me with the dialogue box to allow MailMaite to access Contacts and has enabled more Contacts integration in MailMate:
    - I can right-click an email address and select "View Contact" and it will open the contact, with a button to fully open it in the Contacts app.

    • "Select recipients in Contacts panel" works and allows me to select recipients from my Contacts. This works very slowly. I have just under 7,000 contacts.

    However, I still cannot autocomplete addresses from my Contacts. I've tried toggling the setting to do so off and back on in Settings, but it has no effect. Help!

    December 16th, 2024 @ 10:35 PM

  3. benny
    benny

    Thanks for trying the reset. That should not making anything crash, but MailMate is apparently not the only app with Contacts related issues.

    I'm a bit busy on getting a new beta out (together with a lot of server/store changes), but I'd like to debug this further when I have time. I've had some similar issues reported although they were primarily related to performance with large sets of contacts. Unfortunately, I never completed debugging that. Your issue might be related.

    There's a debug variable available which might reveal something:

    defaults write com.freron.MailMate MmDebugContactsGroups -bool YES
    

    To see the output, you'll need to launch MailMate from a Terminal window like this:

    /Applications/MailMate.app/Contents/MacOS/MailMate
    

    It's very likely I'll need to improve the output before we can learn more.

    Is this iCloud Contacts or something else?

    December 18th, 2024 @ 04:06 PM

  4. Rochelle Broder-Singer
    Rochelle Broder-Singer

    Thank you for starting work on this, Benny. Anything I can do to help, please ask.

    Most of my contacts are iCloud Contacts, but I do also have three Google accounts in Contacts. These contain under 150 contacts total between them. Finally, I have one account listed under Directories, but it is empty.

    When I launched MailMate from a Terminal window (after quitting the app), I got a response in terminal, and I got a system Problem Report for MailMate: MailMate quit unexpectedly message. The terminal output is below, but the Lighthouse system won't let me include the system report because it's so long (I think)

    Terminal Output:

    rochelle@Mac ~ % /Applications/MailMate.app/Contents/MacOS/MailMate

    Initializing contacts manager
    Contacts manager (update detected)
    Scanning container: “Golden Isles Lakes Condo Google” (15BC0B07-DA26-4BD2-B699-33164858FB6F:ABAccount)
    Contacts found: 84
    Scanning container: “iCloud” (8E654731-AC4E-4E47-AE3B-672A012759A6:ABAccount)
    Contacts found: 6366
    Found group: “"Banking, Finances"”
    Found group: “"Freelance Designers, Artists"”
    Found group: “Automation”
    Found group: “Automation Emails”
    Found group: “Autos”
    Found group: “Banking”
    Found group: “Banking, Finances”
    Found group: “Business”
    Found group: “Clients”
    Found group: “Condo”
    Found group: “Doctors”
    Found group: “Doctors Archive”
    Found group: “Doggie Services”
    Found group: “Fairchild Contacts”
    Found group: “Family”
    Found group: “Federation”
    Found group: “Freelance Designers, Artists”
    Found group: “Freelance Writers”
    Found group: “Friends-Family”
    Found group: “Girlies”
    Found group: “Godot Contacts”
    Found group: “Goodyear Book for Latin Trade”
    Found group: “Holiday Card”
    Found group: “Holiday Party 2018”
    Found group: “HolidayCard”
    Found group: “Holiday_Party_List”
    Found group: “House Services”
    Found group: “Latin Trade Group”
    Found group: “Latin Trade Group Contacts”
    Found group: “MI Doctors”
    Found group: “Miami Business Leaders”
    Found group: “PR People Outside S FL”
    Found group: “PR People Travel”
    Found group: “PR People-Local”
    Found group: “PR_People_Outside SFL”
    Found group: “Photographers”
    Found group: “Potential Clients”
    Found group: “RBEW Team”
    Found group: “Real Estate”
    Found group: “Recreation”
    Found group: “Restaurants”
    Found group: “Services”
    Found group: “Starred in Android”
    Found group: “Thinking Heads”
    Found group: “Thinking Heads Client”
    Found group: “Thinking Heads Contacts”
    Found group: “Travel”
    Found group: “Travel (Personal)”
    Found group: “Travel PR”
    Found group: “UM Contacts”
    Found group: “starred”
    Scanning container: “RSBroder Google” (A1642E85-AE54-4FB0-8985-647170E748E4:ABAccount)
    Contacts found: 96
    Scanning container: “rbs@thinkingheads.com” (B98CE547-FBCB-4487-8C84-AB2CBFFAA50C:ABAccount)
    Contacts found: 10
    Scanning container: “On My Mac” (_local:ABAccount)
    Contacts found: 1
    Found smart group: “Address Book”
    Found smart group: “Address Book”
    Found smart group: “Address Book”
    Initializing contacts manager
    Fatal: Unexpectedly found non-nil change token for Contactszsh: abort /Applications/MailMate.app/Contents/MacOS/MailMate

    – Rochelle

    December 18th, 2024 @ 07:57 PM

  5. benny
    benny

    Is this crash reproducible? If yes, does it only happen when launching from the Terminal window?

    Does it look like MailMate finds all your contacts (before crashing)?

    You can send additional data needed using “Help > Send Feedback”.

    December 19th, 2024 @ 11:20 AM

  6. Rochelle Broder-Singer
    Rochelle Broder-Singer

    It does look like MailMate finds all my contacts.

    I got a totally different response this time when I launched from Terminal! First, no crash. Second, a much longer response in Terminal, which Lighthouse says is too long for me to paste here. Is there another way I can send it to you?

    Here are the first few lines of the Terminal response: rochelle@Mac ~ % /Applications/MailMate.app/Contents/MacOS/MailMate

    Initializing contacts manager
    Contacts manager (update detected)
    Scanning container: “Golden Isles Lakes Condo Google” (15BC0B07-DA26-4BD2-B699-33164858FB6F:ABAccount) Contacts found: 84 Scanning container: “iCloud” (8E654731-AC4E-4E47-AE3B-672A012759A6:ABAccount) Contacts found: 6366 Found group: “"Banking, Finances"” Found group: “"Freelance Designers, Artists"” Found group: “Automation”

    Here are the last few lines of the Terminal response: Contact: “3107A2FC-F7CE-4AE2-921E-DF14EC7207D0:ABPerson” (2 addresses) Contact: “8D25A765-4DE9-4022-8261-12E610463DD4:ABPerson” (1 addresses) Contact: “B714A361-DCF8-452D-B069-75B5D703F43E:ABPerson” (no email address) Contact: “7CA7434A-41CB-4178-8770-4F6BC91AA519:ABPerson” (1 addresses) Contact for group: “3107A2FC-F7CE-4AE2-921E-DF14EC7207D0:ABPerson” ("iCloud>starred") Contact for group: “8D25A765-4DE9-4022-8261-12E610463DD4:ABPerson” ("iCloud>starred") Contact for group: “7CA7434A-41CB-4178-8770-4F6BC91AA519:ABPerson” ("iCloud>starred") Contacts manager (update detected)
    2024-12-19 07:35:44.656 MailMate[97634:6639900] +[IMKClient subclass]: chose IMKClient_Modern
    Warning: Unknown body part id for URL: cid:ii_193dafcb53d4ce8e91
    Initializing contacts manager
    Scanning container: “Golden Isles Lakes Condo Google” (15BC0B07-DA26-4BD2-B699-33164858FB6F:ABAccount) Contacts found: 84 Scanning container: “iCloud” (8E654731-AC4E-4E47-AE3B-672A012759A6:ABAccount) Contacts found: 6366 Found group: “"Banking, Finances"” Found group: “"Freelance Designers, Artists"” Found group: “Automation” Found group: “Automation Emails” Found group: “Autos” Found group: “Banking” Found group: “Banking, Finances” Found group: “Business” Found group: “Clients” Found group: “Condo” Found group: “Doctors” Found group: “Doctors Archive” Found group: “Doggie Services” Found group: “Fairchild Contacts” Found group: “Family” Found group: “Federation” Found group: “Freelance Designers, Artists” Found group: “Freelance Writers” Found group: “Friends-Family” Found group: “Girlies” Found group: “Godot Contacts” Found group: “Goodyear Book for Latin Trade” Found group: “Holiday Card” Found group: “Holiday Party 2018” Found group: “HolidayCard” Found group: “Holiday_Party_List” Found group: “House Services” Found group: “Latin Trade Group” Found group: “Latin Trade Group Contacts” Found group: “MI Doctors” Found group: “Miami Business Leaders” Found group: “PR People Outside S FL” Found group: “PR People Travel” Found group: “PR People-Local” Found group: “PR_People_Outside SFL” Found group: “Photographers” Found group: “Potential Clients” Found group: “RBEW Team” Found group: “Real Estate” Found group: “Recreation” Found group: “Restaurants” Found group: “Services” Found group: “Starred in Android” Found group: “Thinking Heads” Found group: “Thinking Heads Client” Found group: “Thinking Heads Contacts” Found group: “Travel” Found group: “Travel (Personal)” Found group: “Travel PR” Found group: “UM Contacts” Found group: “starred” Scanning container: “RSBroder Google” (A1642E85-AE54-4FB0-8985-647170E748E4:ABAccount) Contacts found: 96 Scanning container: “rbs@thinkingheads.com” (B98CE547-FBCB-4487-8C84-AB2CBFFAA50C:ABAccount) Contacts found: 10 Scanning container: “On My Mac” (_local:ABAccount) Contacts found: 1 Found smart group: “Address Book” Found smart group: “Address Book” Found smart group: “Address Book” 2024-12-19 07:36:02.959 MailMate[97634:6640940] Error: Error Domain=UNErrorDomain Code=1 "Notifications are not allowed for this application" UserInfo={NSLocalizedDescription=Notifications are not allowed for this application}

    December 19th, 2024 @ 12:43 PM

  7. Rochelle Broder-Singer
    Rochelle Broder-Singer

    Benny - My comment responding to you was marked as spam. Can you still see it?

    December 19th, 2024 @ 12:44 PM

  8. benny
    benny

    No, I'm not notified when this happens, but I've unmarked it now.

    December 19th, 2024 @ 12:45 PM

  9. benny
    benny

    You can send additional data using “Help > Send Feedback” in MailMate.

    The output does seem to indicate a problem. I'll add some debug output which might make this clearer using the next update of MailMate.

    December 19th, 2024 @ 12:56 PM

  10. Rochelle Broder-Singer
    Rochelle Broder-Singer

    New beta doesn't change this issue. I have emailed you the Terminal output.

    December 23rd, 2024 @ 06:18 PM

  11. benny
    benny
    • State changed from new to fixcommitted

    January 21st, 2025 @ 12:39 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.