adverb
formally
"Renuncié formalmente y luego olvidé el correo."
I formally resigned and then forgot the email.