Gmail API not returning correct emails compared to Gmail web UI for date queries

后端 未结 1 363
你的背包
你的背包 2021-01-18 10:45

The results differ between the Gmail api and Gmail web ui when using the standard query format as described here - https://support.google.com/mail/answer/7190.

The i

1条回答
  •  南方客
    南方客 (楼主)
    2021-01-18 11:11

    You can list the messages with second accuracy if you would like:

    q = after: AND before:
    

    So e.g. from Wed, 25 Nov 2015 00:00:00 GMT to Wed, 25 Nov 2015 23:59:59 GMT would be:

    q = after:1448409600 AND before:1448495999
    

    0 讨论(0)
提交回复
热议问题