Url wordpress rewrite

You don’t need to create a folder.

And create a file inside your theme with starting content of following one

  <?php
    /* 
      Template Name: Mail Page 
     */
      // here your mail page content. 
  ?>

Now goto backend and pages-> Add New.
Title your page and select a Template Mail Page.

Now you can write your code on the template file. It will take effect.

tech