Skip to content

Contacts lookup via JMAP Contacts (RFC 9610) #15

Description

@SashankBhamidi

No contacts support. Useful for resolving participant emails when building invitations.

Add:

get_address_books() -> list
search_contacts(text=None, email=None) -> list

New _methods/contact.py following the same pattern as _methods/calendar.py. Capability URN: urn:ietf:params:jmap:contacts. Add to constants.py.

If the server doesn't advertise contacts capability, get_address_books() returns [] with a log warning, not an exception.

  • Integration against Cyrus
  • Unit tests with mocked responses
  • Test graceful fallback when capability is absent

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions