@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    @ConditionalOnMissingBean(name = "mailgunEmailSender")
    public EmailSender emailSender(
        @Qualifier("mailgunMessagesApi") final MailgunMessagesApi mailjetEmailClient,
        final CasConfigurationProperties casProperties,
        @Qualifier("messageSource") final MessageSource messageSource) {
        return new MailgunEmailSender(mailjetEmailClient, messageSource, casProperties);
    }
This is {@link CasMailgunEmailSenderAutoConfiguration}.

@author Misagh Moayyed
@since 7.2.0
support/cas-server-support-mailgun/src/main/java/org/apereo/cas/config/CasMailgunEmailSenderAutoConfiguration.java