this fix doesn't work for 2.0.0-p247
gem tmail is in use
use tmail instead of mail to get "headers"