Access gmail star color from IMAP

一笑奈何 提交于 2019-12-06 16:44:22

Yeah, that should totally work. From the Gmail IMAP Extensions page:

Extension of the SEARCH command: X-GM-RAW

To provide access to the full Gmail search syntax, Gmail provides the X-GM-RAW search attribute. Arguments passed along with the X-GM-RAW attribute when executing the SEARCH or UID SEARCH commands will be interpreted in the same manner as in the Gmail web interface.

For stars, the advanced search syntax for Gmail notes that you can use these query parameters:

has:yellow-star
has:red-star
has:orange-star
has:green-star
has:blue-star
has:purple-star
has:red-bang
has:orange-guillemet
has:yellow-bang
has:green-check
has:blue-info
has:purple-question

Does your search work without has:red-star?

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!