diff --git a/src/emailjs-imap-client.js b/src/emailjs-imap-client.js
index <HASH>..<HASH> 100644
--- a/src/emailjs-imap-client.js
+++ b/src/emailjs-imap-client.js
@@ -1095,6 +1095,11 @@
                 value: sequence
             }]
         };
+
+        if (options.valueAsString !== undefined) {
+            command.valueAsString = options.valueAsString;
+        }
+
         var query = [];
 
         items.forEach((item) => {
diff --git a/test/unit/emailjs-imap-client-test.js b/test/unit/emailjs-imap-client-test.js
index <HASH>..<HASH> 100644
--- a/test/unit/emailjs-imap-client-test.js
+++ b/test/unit/emailjs-imap-client-test.js
@@ -1447,6 +1447,21 @@
                     }]
                 });
             });
+
+            it('should build FETCH with the valueAsString option', () => {
+                expect(br._buildFETCHCommand('1:*', ['body[]'], {valueAsString: false})).to.deep.equal({
+                    command: 'FETCH',
+                    attributes: [{
+                        type: 'SEQUENCE',
+                        value: '1:*'
+                    }, {
+                        type: 'ATOM',
+                        value: 'BODY',
+                        section: []
+                    }],
+                    valueAsString: false
+                });
+            });
         });
 
         describe('#_parseFETCH', () => {
Added valueAsString to the fetch command.