I had a problem with grouping message for reply so we can see history of conversation. Is there a way for grouping it? variable that I can get from imap:
- id
- date
- subject
- fromName
- fromAddress
- to
- toString
- cc
- replyTo
- messageId
- textPlain
- textHtml
Did I just need to store it to my DB and groupby it by fromAddress and subject? but subject for reply is "Re: subject", right?