Restructure omni services and add Chatwoot research snapshot
This commit is contained in:
15
research/chatwoot/app/services/imap/fetch_email_service.rb
Normal file
15
research/chatwoot/app/services/imap/fetch_email_service.rb
Normal file
@@ -0,0 +1,15 @@
|
||||
class Imap::FetchEmailService < Imap::BaseFetchEmailService
|
||||
def fetch_emails
|
||||
fetch_mail_for_channel
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def authentication_type
|
||||
'PLAIN'
|
||||
end
|
||||
|
||||
def imap_password
|
||||
channel.imap_password
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user