NXP-11361: add feature to start a fake mail server in java