avoid INSTALL_FAILED_CONTAINER_ERROR
JSONify mail to store it later