@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    @ConditionalOnMissingBean(name = "amazonSimpleEmailServiceEmailSender")
    public EmailSender emailSender(
        final CasConfigurationProperties casProperties,
        @Qualifier("amazonSimpleEmailServiceClient") final SesClient amazonSimpleEmailServiceClient,
        @Qualifier("messageSource") final MessageSource messageSource) {
        return new AmazonSimpleEmailServiceEmailSender(amazonSimpleEmailServiceClient, messageSource, casProperties);
    }
This is {@link CasAmazonSimpleEmailServiceAutoConfiguration}.

@author Misagh Moayyed
@since 7.1.0
support/cas-server-support-aws-ses/src/main/java/org/apereo/cas/config/CasAmazonSimpleEmailServiceAutoConfiguration.java