This commit also removed the redundant directory EmailEditor from integration tests directory. [MAILPOET-6216]
I tried to minimize the code repetition. [MAILPOET-6216]
[MAILPOET-6216]