Use Mail gem for parsing headers