I am using james server to send and receive emails. Consider the case when I sent out an email to a user, the user then replies with a email. This email will be saved into the inbox table of the mail database by james server.
However all emails sent by a user are saved in the inbox table. Im my case I would like to be able to recognise if an email is the reply to the email I sent previously or it is just a new message sent by a user?