Eforms: mail with plain text content

I am extending EformComponent to send the form data in email. The mail sends the data in text/html format. The requirement is to send the mail in text/plain format.
How can this be achieved? I have tried adding the eforms-body-html parameter in the component with the content from eforms_text.ftl, The mail is still received in html format.

The sendMessage() of MailTemplate `needs to override.

public void sendMessage() throws MessagingException {
MimeMessage myMessage = prepareMessage();
myMessage.setContent(myMessage.getContent(), “text/plain”);
Transport.send((Message)myMessage);
}