(Omit source code)
if (mail.getRecipients().size() == 1) { return mail.getRecipients(); } else { return null; }