Fix bug in dbmail when extra headers are not set.