added `-t` flag for sendmail command to parse message headers in all scenarios