[local-sync] Correctly add references when processing existing messages
[local-sync] Correctly add references when processing existing messages

simonft/nylas-mail,nylas/nylas-mail,nylas/nylas-mail,nirmit/nylas-mail,nirmit/nylas-mail,nirmit/nylas-mail,nylas-mail-lives/nylas-mail,nylas/nylas-mail,nylas/nylas-mail,nylas-mail-lives/nylas-mail,nylas-mail-lives/nylas-mail,nirmit/nylas-mail,simonft/nylas-mail,nirmit/nylas-mail,nylas-mail-lives/nylas-mail,simonft/nylas-mail,nylas/nylas-mail,simonft/nylas-mail,simonft/nylas-mail,nylas-mail-lives/nylas-mail