Try to make mail_port really optional