Implementation of Mail Edit API