Skip to content

Script for 'To Recipients'? Also, getting error when selecting 'All mailboxes.' #1

Description

@archaik

Hi Rémi, thank you for this. I was wondering if there is an easy way to customize the script to search for all 'to recipients' instead of senders? I tried replacing the two instances where 'sender' is used, but I get an error:

Mail got an error: Can’t make {to recipient 1 of message id 2308 of mailbox "Mail" of account "myname@email.com"} into type rich text.

I get a similar error when running your script and selecting the 'All mailboxes' option in the pop-up menu:

Mail got an error: Can’t make {} into type rich text.

Do you know what might be going on? Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions