Polish 383e94c to validate any `JavaMailSenderImpl` and not only the one that has been created by auto-configuration. Closes gh-3409