Improvement/php mail

not fully working implementation of PHP mail

for some reason mail comes out in plaintext all the time in Gmail and the MIME is not recognized