It's not clear from your question whether you thanked him for an earlier email or the current one (the one to which you responded with a thank you). If it was an earlier email, then that should've been used. Otherwise, your choice ( this ) was correct.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.