Fired while studying for CPA

I was let go recently from a position because I sent an email to the wrong person (it was supposed to go to managers but went to executives). Before this I accidentally scanned in some invoices but caught them before they were processed. The system was setup as such that I could not delete them myself. I am halfway through the CPA exam and was wondering if this will hinder me too much from getting a job again. I am not looking for employment while I continue my exam because I want to relocate when I finish. Will this probably hurt me too much or will completing my certification make up for my termination?