How to thank a potential supervisor's email?
Do not overthink this (and do not write a very long text). Just write


  Dear Prof. NAME,
  
  Thank you very much for considering me as a PhD student.
  
  Best, NAME