Editor

More work on the new editor, this time working with the layouts to build the emails.