Dear all,
please correct this email.

I made a mistake in/while sending you the/previous/my email. It was empty. I apologize for it.
(I am not sure it sounds formal.)
Thanks.