Find Gmail url-IDs via IMAP

后端 未结 9 1006
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-07 16:02

One of my favourite features of Gmail is the ability to bookmark urls to certain messages like this:

https://mail.google.com/mail/#all/124c8f386d41fd3a

What

9条回答
  •  被撕碎了的回忆
    2020-12-07 16:21

    I was struggling with this too, and then i found the UID is actually the same thing as the Google Message ID.

    The UID is an Integer and the Google Message ID is the Hexadecimal version of the that.

    Unsure about conversion in ruby, but try this: Converting an integer to a hexadecimal string in Ruby

提交回复
热议问题