class MailUserAccessEventHandler implements UserAccessEventHandler {

    Map<String, Object> getContextMap(User user, LocalDateTime newEndTime) {
        var newDateAndTime = newEndTime.format(DATE_TIME_FORMATTER);
        var userData = userService.getUserData(user);

        return Map.of(
                "userData", userData,
                "newDate", newDateAndTime,
                "projectBoardUrl", projectBoardUrl
        );
    }

    public  MailUserAccessEventHandler(MailSenderAdapter mailSenderAdapter,
                                      UserService userService,
                                      VelocityMailTemplateService velocityMailTemplateService,
                                      ProjectBoardConfigurationProperties configurationProperties);

}