\r\n is used in email to dictate header separations. Body should use only \n. Try removing \r\n and using just \n.
You don't need to email this text though like this. This may cause problems between html versus plaintext view. Write the data to a file, then email the file as an attachment.
Check if you have cron though, if you can crontab the backup, you are much better off using mysqldump for the export.