return new AcceptRequest(from, recipient);
}
@Override
public MailEndpointConfiguration getEndpointConfiguration() {
MailEndpointConfiguration endpointConfiguration = new MailEndpointConfiguration();
endpointConfiguration.setMessageConverter(messageConverter);
endpointConfiguration.setMailMessageMapper(mailMessageMapper);
endpointConfiguration.setJavaMailProperties(javaMailProperties);
return endpointConfiguration;
}