Main functions

$AEE.getHtmlCode()

Use this function to generate the html code of the edited email. This is the final code, it can be sent as an email.
//Create an email and get the html code
$AEE.getHtmlCode();
                
Try it!

$AEE.getEditorCode()

Use this function to get the editor code of the edited email. This code later can be loaded using the $AEE.setEditorCode function.
//Create an email and get the editor code
$AEE.getEditorCode();
                
Try it!

$AEE.setEditorCode(code)

Use this function to set the editor code of the edited email.
Parameters:
code: The editor load you want to load.
//Create an email and save the code
var oldCode=$AEE.getEditorCode();

//Do some modifications, and then load the old code
$AEE.setEditorCode(oldCode);
                
Try it!