issue #22390: format email contents from template
issue #22390: show email option only if the user has set up an email server
issue #22390: only show client boolean values for bi and print