In version 2.931 a set of new built in lookups were added to the application to help format lookups depending on the email type.
text/plain
text/html
Rich TextThese lookups are NOT visible in the view of supplied look ups.

To insert one of these look ups simply open the signature document, select 'Insert Lookup' and select from the list.

New Built in Lookups
(!crlf!)
This lookup will add a carraige return at the location of the lookup. text/plain - will add ascii 10 and 13
text/html - will add
Rich Text - will add ascii 10 and 13 (Note these are automatically converted back to ASCII 0 for Notes.
(!space!)
text/plain - will add a normal space
text/html - will add
Rich Text - will add a normal space
(!format!)
This lookup is designed to be used in other lookups. It will return a number
text/plain - 2
text/html - 1
Rich Text -0e.g
iFormat := (!format!);@if(iFormat=0;'Rich Text Email';iFormat=1;'HTML Email';iFormat=2;'Plain Text Email';iFormat=3;'No Format';'unknown' + @Text(iFormat));