public Response updateAwsEmail(@FormParam("accessKeyId") String accessKeyId,
@FormParam("secretKey") String secretKey,
@FormParam("testAddress") String testAddress,
@FormParam("recipientOverride") String recipientOverride) throws Exception {
CreateAwsEmailConfigAction action = new CreateAwsEmailConfigAction(accessKeyId, secretKey, testAddress, recipientOverride);
apiClient.apply(action);
apiClient.deleteSmtpEmailConfig();
config.getAccountStore().update(account);