Got the message delivery working. Still want a better format and editor, but for now it's good enough.