This question already has an answer here:
I would like to quit a job I recently took up for another better offer that has come along. It has been just a week since I joined this firm, but I have no legal/contractual bonding with them.
I now look forward to politely informing them that I will be resigning through a formal email.
How can I let them know that I will be quitting without appearing mean / unethical?