Hey @Kailash, you can use the check_imap plugin for this purpose. Service definition would look something like this:
define service {
use generic-service ; Inherit default values from a template
host_name remotehost
service_description IMAP
check_command check_imap
}