Modify output of REST get message, add SMTP headers