Stop sending mail to the IMAP server (sanger)

Change-Id: I1eb1ae65263aac343625129609f0a93e345ac677
Merge "Stop sending mail to the IMAP server (sanger)" into production