E-Mail Composer: send global variable


#1

Hi,
in my App I am using an email-composer. In the body of the mail I would like to send some global variables (global.caption1, global.caption2) I defined previously, combined with some text.
The code looks like this (mail.ts):

send(){
	  console.log('Email sended');
	  let email = {
			to: this.to,
			subject: this.subject,
			body: global.caption1 + global.caption2 + 'is the Result',
			isHtml: false
	}
	this.emailComposer.open(email);
  }

If I am using the code like above, it is not giving an error while running the email app but it also is not loading the value of the variable.
If you have any ideas how to do this, especially with code, I would be thankfully for your advice.
Even better would be the option to send a grid like:

send(){
	  console.log('Email sended');
	  let email = {
			to: this.to,
			subject: this.subject,
			body: 
                      <grid>
                      <row>
                      <col>global.caption1</col>
                      <col>global.caption2</col>
                      <col>'Results'</col>,
                      </row>
                      </grid>
			isHtml: false
	}
	this.emailComposer.open(email);
  }

Edit: Since I saw that HTML isnĀ“t supported by gmail anymore, is there any other way to format the text?

Greetings,

Robert