Show Navigation


This Plugin reads unread mails from provided mail account Id. To Grails 3 updated Version of

Owner: junehasissues | 0.1 | Jan 10, 2018 | Package | Issues | Source | License: Apache-2.0

dependencies {
    compile 'org.grails.plugins:mailwatcher:0.1'



To Grails 3 updated Version of

Usage Information

Configure: The plugin needs the following properties

grails {
    mailwatcher {
        email = "_youremailId_"
        password = "_password_"
        readTimeOut = 10000
        protocol = "imaps"
        host = ""
        port = "993"
        excludeSender = "[email protected],[email protected]"
  • readTimeOut Timeout For WatcherJob

  • folderToRead This is the name of the Folder that app reads. Defaults to Inbox.Any other folder in your mail can also be specified.

  • protocol Protocol used for reading mail

  • host Hostname for the mail server

  • port Port to which app connects

  • excludeSender (optional) Mails from this sender/these senders won't be saved

To log the mails that are read, change the logging level to info


  • Searching for mails can be based on patterns

  • Folder to look for in Mail can be given as regex

  • Can fire mail received event when a mail with specific pattern is received.