Add mail function and release demo verison