Comment 24 for bug 1421923

Revision history for this message
Dan Chapman  (dpniel) wrote :

Hi Alberto,

Thanks for the update Alberto.

How is it going to work with gmail notifications and figuring out which app should receive the notification? Is it a case of seeing if dekko has been granted access to the account and falling back to the gmail webapp if not?

For the record i'll just post here my answer to your question on IRC earlier.

Dekko's notification action url should be in the format:

dekko://notify/{OnlineAccountId}/{mailboxName}/{MessageUID}

MessageUID is optional. If the gmail rest api provides the servers immutable message UID then you can include it and Dekko will try to fetch and display it. Dekko uses the mailboxname to trigger a sync on that mailbox so just set that to INBOX