Update the MailAPI class and related tests to support attributes related operations.
Create a separate file for the MailinTestHelper class.
Improve MailiAPI class and related tests.