import eu.europeana.corelib.definitions.db.entity.relational.User;
import eu.europeana.corelib.web.exception.EmailServiceException;
import java.util.Locale;
public interface EmailService {
void sendActivationToken(Token token, String apiHost) throws EmailServiceException;
<BUG>void sendApiKeys(ApiKey apiKey) throws EmailServiceException;
void sendForgotPassword(User user, String url) throws EmailServiceException;</BUG>
void sendForgotPassword(String email, String url) throws EmailServiceException;
void sendFeedback(String email, String feedback) throws EmailServiceException;
void sendException(String subject, String body) throws EmailServiceException;

import eu.europeana.corelib.definitions.db.entity.relational.User;
import eu.europeana.corelib.web.exception.EmailServiceException;
import java.util.Locale;
public interface EmailService {
void sendActivationToken(Token token, String apiHost) throws EmailServiceException;
void sendApiKeys(ApiKey apiKey) throws EmailServiceException;
void sendNewPasswordToken(Token token, String apiHost, String salutation) throws EmailServiceException;
void sendPasswordResetConfirmation(User user, String salutation) throws EmailServiceException;
void sendForgotPassword(User user, String url) throws EmailServiceException;
void sendForgotPassword(String email, String url) throws EmailServiceException;
void sendFeedback(String email, String feedback) throws EmailServiceException;
void sendException(String subject, String body) throws EmailServiceException;
