added option to send text/plain