InetAddress inetAddress = InetAddress.getByName(remoteAddress);
ApiRequest apiRequest = new ApiRequest(apiClient, action, inetAddress);
config.getApiRequestStore().create(apiRequest);
new AwsEmailDelegate(config.getObjectMapper(), config.getApiRequestStore(), account, apiClient, apiRequest, action).run();
msg = String.format("Test message sent to %s:\n%s", recipient, msg);
apiClient.setLastMessage(msg);
config.getAccountStore().update(account);