Removing the main from Jemail.