Error using gmail.readlatestMailBody


#1

I try to use readlatestMailBody and got this error:
ERROR k.k.c.m.CustomKeywordDelegatingMetaClass - :x: No signature of method: com.testwithhari.katalon.plugins.Gmail.readLatestEMailBody() is applicable for argument types: (java.lang.String, java.lang.String, java.lang.String) values: [testpcprubicon@gmail.com, Newpass123, Inbox()]

code:
String submittedConsultMailContent = CustomKeywords.‘com.testwithhari.katalon.plugins.Gmail.readLatestEMailBody’(‘testpcprubicon@gmail.com’, ‘Newpass123’, ‘Inbox()’)

what is wrong with the signature. what is needed to be in the Inbox(emailSubjectName, Inbox)?

the example provide here is not clear. https://github.com/hariprasadms/Katalon-Gmail-Plugin-Sample-Project/blob/master/Scripts/try%20read%20latest%20email%20in%20mailbox/Script1556925375410.groovy