Gravar-mail: General variational principles applicable to the hybrid element method