This module allows you to poke for attachments on a mail server.
ImapAttachmentSensor(*, attachment_name, check_regex=False, mail_folder='INBOX', mail_filter='All', conn_id='imap_default', **kwargs)¶
Waits for a specific attachment on a mail server.
attachment_name (str) -- The name of the attachment that will be checked.
check_regex (bool) -- If set to True the attachment's name will be parsed as regular expression. Through this you can get a broader set of attachments that it will look for than just only the equality of the attachment name.
mail_folder (str) -- The mail folder in where to search for the attachment.
template_fields= ['attachment_name', 'mail_filter']¶