added support for ENVELOPE fetch