adding stored message template support