Condense whitespace when calculating message snippets.
Condense whitespace when calculating message snippets.

Summary:
Note that this will not apply to already synced messages.

Fixes T8

Test Plan: Manual testing.

Reviewers: mg

Reviewed By: mg

Maniphest Tasks: T8

Differential Revision: https://review.inboxapp.com/D151

nylas/sync-engine,EthanBlackburn/sync-engine,jobscore/sync-engine,EthanBlackburn/sync-engine,ErinCall/sync-engine,wakermahmud/sync-engine,rmasters/inbox,PriviPK/privipk-sync-engine,gale320/sync-engine,ErinCall/sync-engine,closeio/nylas,PriviPK/privipk-sync-engine,jobscore/sync-engine,rmasters/inbox,jobscore/sync-engine,closeio/nylas,ErinCall/sync-engine,gale320/sync-engine,PriviPK/privipk-sync-engine,PriviPK/privipk-sync-engine,gale320/sync-engine,jobscore/sync-engine,EthanBlackburn/sync-engine,EthanBlackburn/sync-engine,wakermahmud/sync-engine,nylas/sync-engine,Eagles2F/sync-engine,PriviPK/privipk-sync-engine,gale320/sync-engine,wakermahmud/sync-engine,Eagles2F/sync-engine,wakermahmud/sync-engine,ErinCall/sync-engine,Eagles2F/sync-engine,rmasters/inbox,Eagles2F/sync-engine,wakermahmud/sync-engine,nylas/sync-engine,EthanBlackburn/sync-engine,Eagles2F/sync-engine,rmasters/inbox,closeio/nylas,ErinCall/sync-engine,nylas/sync-engine,gale320/sync-engine,closeio/nylas