you could use exec() (execute external program) and the mysqldump program to output the db. But if you email it, it can be very easily intercepted.
Is this something you don't want people to be able to see?
you might consider using GnuPG to encrypt the email first. that would help a little.