fix travis mail resourec load and portlet config