Programmatically searching GMail?

前端 未结 4 1028
北荒
北荒 2021-02-04 15:56

Is there any way to programmatically search GMail, preferably using C#?

For example, I\'d like to get all email messages matching the search label:MyLabel from:no_re

4条回答
  •  名媛妹妹
    2021-02-04 16:28

    it's 2015 now! You can use Google's Gmail API.

    It has a search feature, you can do it easily just like this:

    https://www.googleapis.com/gmail/v1/users/me/messages?q="in:sent after:2014/01/01 before:2014/01/30"
    

提交回复
热议问题