How can I delete local mail on mac and stop terminal saying "You have mail."
Remove /var/mail/$USER. The other option would remove the actual mails you see in Mail.App, this is for sure not what you want.
If you keep getting mails in Terminal, run less /var/mail/$USER to see which processes are sending them.