changes for domain security and mailbox creation