Adding text email support see #6193
Minor adding subject sample.