some additional info: i tried setting up email via MTA and gmail less secure apps and neither will send mail. I’ve verified that the oauth2 / gmail api requests are reaching google but still no mail. below is the logs i see that seem related:
I, [2022-04-08T17:31:26.107910 #615-3050540] INFO -- : Parameters: {"inbound"=>{"adapter"=>"imap", "options"=>{"realname"=>"grit1", "email"=>"email@adress.com", "group_id"=>"1", "host"=>"imap.gmail.com", "user"=>"email@adress.com", "password"=>"[FILTERED]", "ssl"=>"ssl", "port"=>"993", "folder"=>"", "keep_on_server"=>false}}, "outbound"=>{"adapter"=>"smtp", "options"=>{"host"=>"smtp.gmail.com", "user"=>"email@adress.com", "password"=>"[FILTERED]", "port"=>"587"}, "email"=>"email@adress.com"}, "meta"=>{"realname"=>"grit1", "email"=>"email@adress.com", "password"=>"[FILTERED]", "group_id"=>"1"}, "group_id"=>"1", "subject"=>"#764225eda57b45b6ef92"}
I, [2022-04-08T17:31:31.144379 #615-3050540] INFO -- : fetching imap (imap.gmail.com/email@adress.com port=993,ssl=true,starttls=false,folder=INBOX,keep_on_server=false,auth_type=LOGIN)
I, [2022-04-08T17:31:31.844051 #615-3050540] INFO -- : verify mode, fetch no emails #764225eda57b45b6ef92
I, [2022-04-08T17:31:35.672151 #620-7440] INFO -- : Scheduler running...
I, [2022-04-08T17:31:35.694427 #620-7440] INFO -- : Running job thread for 'Generate 'Session' data.' (Sessions.jobs) status is: sleep
I, [2022-04-08T17:31:35.694695 #620-7440] INFO -- : Running job thread for 'Check 'Channel' streams.' (Channel.stream) status is: sleep
I, [2022-04-08T17:31:35.695301 #620-7440] INFO -- : Running job thread for 'Process ticket escalations.' (Ticket.process_escalation) status is: sleep
I, [2022-04-08T17:31:35.695480 #620-7440] INFO -- : Running job thread for 'Check channels.' (Channel.fetch) status is: sleep
I, [2022-04-08T17:31:35.696167 #620-7440] INFO -- : Running job thread for 'Execute planned jobs.' (Job.run) status is: sleep
I, [2022-04-08T17:31:35.738217 #620-131820900] INFO -- : execute Chat.cleanup_close (try_count 0)...
I, [2022-04-08T17:31:35.741975 #620-131820900] INFO -- : ended Chat.cleanup_close took: 0.042311184 seconds.
I, [2022-04-08T17:31:36.141568 #615-2990440] INFO -- : Started GET "/api/v1/channels_email?_=1649436405312" for (ip address) at 2022-04-08 17:31:36 +0000
I, [2022-04-08T17:31:36.154866 #615-2990440] INFO -- : Processing by ChannelsEmailController#index as JSON
I, [2022-04-08T17:31:36.155011 #615-2990440] INFO -- : Parameters: {"_"=>"1649436405312"}
I, [2022-04-08T17:31:36.209637 #615-2990440] INFO -- : Completed 200 OK in 54ms (Views: 4.1ms | ActiveRecord: 15.2ms | Allocations: 21074)
I, [2022-04-08T17:31:36.845606 #615-3050540] INFO -- : fetching imap (imap.gmail.com/email@adress.com port=993,ssl=true,starttls=false,folder=INBOX,keep_on_server=false,auth_type=LOGIN)
I, [2022-04-08T17:31:37.742016 #615-3050540] INFO -- : verify mode, fetch no emails #764225eda57b45b6ef92
I, [2022-04-08T17:31:41.436589 #620-128434420] INFO -- : execute Channel.fetch (try_count 0)...
I, [2022-04-08T17:31:41.439273 #620-128434420] INFO -- : ended Channel.fetch took: 0.029039347 seconds.
I, [2022-04-08T17:31:42.743374 #615-3050540] INFO -- : fetching imap (imap.gmail.com/email@adress.com port=993,ssl=true,starttls=false,folder=INBOX,keep_on_server=false,auth_type=LOGIN)
I, [2022-04-08T17:31:43.336393 #615-3050540] INFO -- : verify mode, fetch no emails #764225eda57b45b6ef92
I, [2022-04-08T17:31:48.337913 #615-3050540] INFO -- : fetching imap (imap.gmail.com/email@adress.com port=993,ssl=true,starttls=false,folder=INBOX,keep_on_server=false,auth_type=LOGIN)
I, [2022-04-08T17:31:48.925063 #615-3050540] INFO -- : verify mode, fetch no emails #764225eda57b45b6ef92
I, [2022-04-08T17:31:53.926681 #615-3050540] INFO -- : fetching imap (imap.gmail.com/email@adress.com port=993,ssl=true,starttls=false,folder=INBOX,keep_on_server=false,auth_type=LOGIN)
I, [2022-04-08T17:31:54.739363 #615-3050540] INFO -- : verify mode, fetch no emails #764225eda57b45b6ef92
I, [2022-04-08T17:31:59.740838 #615-3050540] INFO -- : fetching imap (imap.gmail.com/email@adress.com port=993,ssl=true,starttls=false,folder=INBOX,keep_on_server=false,auth_type=LOGIN)
I, [2022-04-08T17:32:00.430308 #615-3050540] INFO -- : verify mode, fetch no emails #764225eda57b45b6ef92
I, [2022-04-08T17:32:05.431696 #615-3050540] INFO -- : fetching imap (imap.gmail.com/email@adress.com port=993,ssl=true,starttls=false,folder=INBOX,keep_on_server=false,auth_type=LOGIN)
I, [2022-04-08T17:32:06.081661 #615-3050540] INFO -- : verify mode, fetch no emails #764225eda57b45b6ef92
I, [2022-04-08T17:32:06.137193 #615-183220] INFO -- : Started GET "/api/v1/channels_email?_=1649436405313" for (ip address) at 2022-04-08 17:32:06 +0000
I, [2022-04-08T17:32:06.151341 #615-183220] INFO -- : Processing by ChannelsEmailController#index as JSON
I, [2022-04-08T17:32:06.151524 #615-183220] INFO -- : Parameters: {"_"=>"1649436405313"}
I, [2022-04-08T17:32:06.187672 #615-183220] INFO -- : Completed 200 OK in 36ms (Views: 3.0ms | ActiveRecord: 6.7ms | Allocations: 21074)
I, [2022-04-08T17:32:11.083104 #615-3050540] INFO -- : fetching imap (imap.gmail.com/email@adress.com port=993,ssl=true,starttls=false,folder=INBOX,keep_on_server=false,auth_type=LOGIN)
I, [2022-04-08T17:32:11.465172 #620-128434420] INFO -- : execute Channel.fetch (try_count 0)...
I, [2022-04-08T17:32:11.467862 #620-128434420] INFO -- : ended Channel.fetch took: 0.023665954 seconds.
I, [2022-04-08T17:32:11.777305 #615-3050540] INFO -- : verify mode, fetch no emails #764225eda57b45b6ef92
I, [2022-04-08T17:32:16.778797 #615-3050540] INFO -- : fetching imap (imap.gmail.com/email@adress.com port=993,ssl=true,starttls=false,folder=INBOX,keep_on_server=false,auth_type=LOGIN)
I, [2022-04-08T17:32:17.490808 #615-3050540] INFO -- : verify mode, fetch no emails #764225eda57b45b6ef92
I, [2022-04-08T17:32:17.493379 #615-3050540] INFO -- : Completed 200 OK in 51385ms (Views: 0.6ms | ActiveRecord: 11.3ms | Allocations: 72557)
I, [2022-04-08T17:32:36.134560 #615-3045400] INFO -- : Started GET "/api/v1/channels_email?_=1649436405314" for (ip address) at 2022-04-08 17:32:36 +0000
I, [2022-04-08T17:32:36.149034 #615-3045400] INFO -- : Processing by ChannelsEmailController#index as JSON
I, [2022-04-08T17:32:36.149214 #615-3045400] INFO -- : Parameters: {"_"=>"1649436405314"}
I, [2022-04-08T17:32:36.216064 #615-3045400] INFO -- : Completed 200 OK in 67ms (Views: 3.2ms | ActiveRecord: 11.9ms | Allocations: 21074)
I, [2022-04-08T17:32:41.535484 #620-128434420] INFO -- : execute Channel.fetch (try_count 0)...
I, [2022-04-08T17:32:41.538421 #620-128434420] INFO -- : ended Channel.fetch took: 0.065353717 seconds.
I, [2022-04-08T17:32:45.764893 #620-7440] INFO -- : Scheduler running...
I, [2022-04-08T17:32:45.785764 #620-7440] INFO -- : Running job thread for 'Generate 'Session' data.' (Sessions.jobs) status is: sleep
I, [2022-04-08T17:32:45.788858 #620-7440] INFO -- : Running job thread for 'Check 'Channel' streams.' (Channel.stream) status is: sleep
I, [2022-04-08T17:32:45.789087 #620-7440] INFO -- : Running job thread for 'Process ticket escalations.' (Ticket.process_escalation) status is: sleep
I, [2022-04-08T17:32:45.789247 #620-7440] INFO -- : Running job thread for 'Check channels.' (Channel.fetch) status is: sleep
I, [2022-04-08T17:32:45.789938 #620-7440] INFO -- : Running job thread for 'Execute planned jobs.' (Job.run) status is: sleep
I, [2022-04-08T17:33:06.133628 #615-875220] INFO -- : Started GET "/api/v1/channels_email?_=1649436405315" for (ip address) at 2022-04-08 17:33:06 +0000
I, [2022-04-08T17:33:06.147721 #615-875220] INFO -- : Processing by ChannelsEmailController#index as JSON
I, [2022-04-08T17:33:06.147883 #615-875220] INFO -- : Parameters: {"_"=>"1649436405315"}
I, [2022-04-08T17:33:06.203599 #615-875220] INFO -- : Completed 200 OK in 56ms (Views: 3.8ms | ActiveRecord: 15.9ms | Allocations: 21074)