Made case token output compatible with send email from case and export document from case