He said he would/will mail it by today/tomorrow/the deadline . Both are OK ('would' is more natural) if the deadline is in the future. If the deadline has passed, then only 'would' works.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.