Add spec to test nil header in imap input