Chatwoot/app/models
Sony Mathew f9b0427751
feat: email channel backend (#140) (#1255)
* feat: added support mailbox to handle email channel (#140)

Added a new mailbox called 'SupportMailbox' to handle all the
incoming emails other than reply emails.

An email channel will have a support email and forward email
associated with it. So we filter for the right email inbox based on
the support email of that inbox and route this to this mailbox.

This mailbox finds the account, inbox, contact (create a new one
if it does not exist) and creates a conversation and adds the
email content as the first message in the conversation.

Other minor things handled in this commit:

* renamed the procs for routing emails in application mailbox
* renamed ConversationMailbox to ReplyMailbox
* Added a fallback content in MailPresenter
* Added a record saving (bang) versions of enabling and disabling
features in Featurable module
* added new factory for the email channel

refs: #140
2020-09-21 22:44:22 +05:30
..
channel fix: Check medium to decide 24 hour window (#1245) 2020-09-17 23:32:19 +05:30
concerns feat: email channel backend (#140) (#1255) 2020-09-21 22:44:22 +05:30
integrations chore: Update dependencies (#1173) 2020-09-08 11:24:08 +05:30
access_token.rb Feature: Access tokens for API access (#604) 2020-03-11 00:02:15 +05:30
account.rb chore: General fixes and clean up (#1169) 2020-08-25 23:04:02 +05:30
account_user.rb chore: General fixes and clean up (#1169) 2020-08-25 23:04:02 +05:30
agent_bot.rb fix: Add available_name method to agent_bot (#1238) 2020-09-16 11:46:07 +05:30
agent_bot_inbox.rb Feature: Access tokens for API access (#604) 2020-03-11 00:02:15 +05:30
application_record.rb chore: General fixes and clean up (#1169) 2020-08-25 23:04:02 +05:30
attachment.rb Chore: Add Facebook app set up documentation (#647) 2020-03-28 11:43:02 +05:30
canned_response.rb Annotations (#327) 2019-11-30 19:09:55 +05:30
contact.rb chore: General fixes and clean up (#1169) 2020-08-25 23:04:02 +05:30
contact_inbox.rb Feature: Rich Message Types (#610) 2020-04-10 16:42:37 +05:30
conversation.rb feat: Notification on new messages in conversation (#1204) 2020-09-10 19:19:15 +05:30
email_template.rb feat: Customisable Email Templates (#1095) 2020-08-06 15:21:06 +05:30
event.rb Enhancement: Move reporting metrics to postgres (#606) 2020-03-18 16:53:35 +05:30
inbox.rb chore: Add message_echo listener for Facebook (#1192) 2020-09-04 19:13:47 +05:30
inbox_member.rb Chore: Refactor round robin logic (#1015) 2020-07-08 00:14:07 +05:30
installation_config.rb Feature: Installation global config (#839) (#840) 2020-05-10 22:40:36 +05:30
integrations.rb Feature: Slack integration (#783) 2020-06-12 23:12:47 +05:30
label.rb Chore: Add default value for label color (#981) 2020-06-25 21:33:56 +05:30
message.rb chore: Enable an echo id for message create end points 2020-09-13 16:16:52 +05:30
notification.rb feat: Notification on new messages in conversation (#1204) 2020-09-10 19:19:15 +05:30
notification_setting.rb Feature: User Notification Objects (#752) 2020-05-01 14:53:43 +05:30
notification_subscription.rb Chore: Firebase Cloud Messaging Support (#858) 2020-06-05 00:15:50 +05:30
super_admin.rb Feature: Introduce Super Admins (#705) 2020-05-11 23:07:22 +05:30
telegram_bot.rb Annotations (#327) 2019-11-30 19:09:55 +05:30
user.rb chore: Update dependencies (#1173) 2020-09-08 11:24:08 +05:30
webhook.rb Feature: Twilio SMS Channel (#658) 2020-04-05 22:11:27 +05:30