IMAPPush: Rather than removing linebreaks, just make the regex more forgiving.

Signed-off-by: Martin Stone <martin@d7415.co.uk>
(cherry picked from commit 0c3c3298c176b9280003a7ff8305bbf6793107b6)