add global email send functions