iachat/app/views/api/v1/models
Shivam Mishra 650fee58a6
feat: add Google Email fetch and OAuth token refresh service (#9603)
This PR adds the following changes

1. Add `Imap::GoogleFetchEmailService` and
`Google::RefreshOauthTokenService`. The
`Google::RefreshOauthTokenService` uses
`OmniAuth::Strategies::GoogleOauth2` which is already added as a packge
2. Update `Inboxes::FetchImapEmailsJob` to handle Google inboxes
3. Add SMTP settings for Google in `ConversationReplyMailerHelper` to
allow sending emails


## Preview

#### Incoming emails

![CleanShot 2024-06-06 at 17 17
22@2x](https://github.com/chatwoot/chatwoot/assets/18097732/9d7d70d1-68e3-4c16-b1ca-e5a2e6f890e8)

#### Outgoing email

![CleanShot 2024-06-06 at 17 18
05@2x](https://github.com/chatwoot/chatwoot/assets/18097732/1b4abf0e-e311-493e-bdc8-386886afbb25)

---------

Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2024-06-11 14:22:03 +05:30
..
_account.json.jbuilder feat: API changes to support multi step user signup (#8933) 2024-02-20 16:48:51 +05:30
_agent_bot.json.jbuilder feat: Add native support for CSML in agent_bot API (#4913) 2022-06-23 19:17:46 +05:30
_agent.json.jbuilder chore: Improve n+1 queries (#4202) 2022-03-17 15:57:32 +05:30
_app.json.jbuilder fix: Allow integration apps to be listed by an agent (#6587) 2023-03-02 13:02:21 +05:30
_campaign.json.jbuilder fix: DEPRECATION WARNING: Rendering actions with '.' in the name is deprecated (#5560) 2022-10-05 17:24:34 -07:00
_contact_inbox.json.jbuilder fix: DEPRECATION WARNING: Rendering actions with '.' in the name is deprecated (#5560) 2022-10-05 17:24:34 -07:00
_contact.json.jbuilder perf: Remove unwanted conversation count query (#8372) 2023-11-17 16:40:40 -08:00
_conversation.json.jbuilder feat: Conversation API to return applied_sla and sla_events (#9174) 2024-04-01 23:30:07 +05:30
_csat_survey_response.json.jbuilder fix: DEPRECATION WARNING: Rendering actions with '.' in the name is deprecated (#5560) 2022-10-05 17:24:34 -07:00
_custom_attribute_definition.json.jbuilder feat: Support Regex validation for custom attributes (#7856) 2024-01-23 18:01:57 +04:00
_custom_filter.json.jbuilder fix: Revert the changes for SyncCustomFilterCountJob (#8238) 2023-10-27 10:45:48 -07:00
_dashboard_app.json.jbuilder feat: Allow users to create dashboard apps to give agents more context (#4761) 2022-06-01 11:13:10 +05:30
_hook.json.jbuilder fix: Update email alerts for Slack integration (#7739) 2023-08-17 11:46:37 -07:00
_inbox.json.jbuilder feat: add Google Email fetch and OAuth token refresh service (#9603) 2024-06-11 14:22:03 +05:30
_macro.json.jbuilder chore: Macros enhancement (#5609) 2022-10-20 19:41:48 -07:00
_message.json.jbuilder feat: Read/Delivery status for Whatsapp Cloud API (#5157) 2022-11-29 15:51:37 +03:00
_note.json.jbuilder fix: DEPRECATION WARNING: Rendering actions with '.' in the name is deprecated (#5560) 2022-10-05 17:24:34 -07:00
_portal_config.json.jbuilder chore: Add missing locale info in portal API (#5177) 2022-08-03 10:33:48 +05:30
_response_source.json.jbuilder chore: Refactor Response Bot Data Schema (#8011) 2023-10-01 19:31:38 -07:00
_team.json.jbuilder chore: Improve search, list performance of contact/conversation APIs (#2696) 2021-07-23 18:39:24 +05:30
_user.json.jbuilder chore: Cleanup feature flags (#6096) 2022-12-19 22:38:30 +05:30
_widget_message.json.jbuilder feat: Add a pre-chat form on widget (#1769) 2021-02-16 00:14:13 +05:30