String guid = (String)optionsSent.getField("guid");
final long GUID = Long.parseLong(guid);
String folderName = (String)optionsSent.getField("folderName");
// Set the namespace properties
MessageListNamespace namespace = MessageListNamespace.getInstance();
namespace.setDefaultNewImage((String)optionsSent.getField("defaultNewImage"));
namespace.setDefaultReadImage((String)optionsSent.getField("defaultReadImage"));
// Do all our actual registration stuff
CustomMessageServices.initializeOnStartup(folderName, "Example App", GUID);
// Set our init flag