Chatwoot/app
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
..
actions feat: Custom Attributes for contacts (#1158) 2020-08-21 19:30:27 +05:30
assets chore: Display app version on settings/admin area 2020-07-26 21:50:59 +05:30
bot chore: Add message_echo listener for Facebook (#1192) 2020-09-04 19:13:47 +05:30
builders bugfix: fix file uploads not showing original file name 2020-09-21 18:42:30 +05:30
channels Chore: Fix presence for current user (#1001) 2020-07-04 20:03:16 +05:30
controllers chore: Add a check for defined labels in SDK API (#1259) 2020-09-20 19:29:39 +05:30
dashboards Chore: Add display name to the user (#1067) 2020-07-20 18:28:14 +05:30
dispatchers chore: Update dependencies (#1173) 2020-09-08 11:24:08 +05:30
drops chore: Enable additional attributes in liquid (#1144) 2020-08-14 00:47:24 +05:30
fields Feature: Rewamp super admin dashboard (#882) 2020-05-24 22:44:26 +05:30
finders Chore: Fix N+1 queries in dashboard side (#1254) 2020-09-19 12:46:34 +05:30
helpers Chore: Remove dead code related to billing (#935) 2020-06-07 20:31:48 +05:30
javascript fix: Remove agent keys from translation file (#1261) 2020-09-20 22:19:34 +05:30
jobs chore: Fix RestClient::GatewayTimeout, label_list of NilClass (#1243) 2020-09-18 18:50:53 +05:30
listeners feat: Notification on new messages in conversation (#1204) 2020-09-10 19:19:15 +05:30
mailboxes feat: email channel backend (#140) (#1255) 2020-09-21 22:44:22 +05:30
mailers feat: Notification on new messages in conversation (#1204) 2020-09-10 19:19:15 +05:30
models feat: email channel backend (#140) (#1255) 2020-09-21 22:44:22 +05:30
policies chore: Update dependencies (#1173) 2020-09-08 11:24:08 +05:30
presenters feat: email channel backend (#140) (#1255) 2020-09-21 22:44:22 +05:30
services feat: Notification on new messages in conversation (#1204) 2020-09-10 19:19:15 +05:30
views Chore: Fix N+1 queries in dashboard side (#1254) 2020-09-19 12:46:34 +05:30
workers Enhancement: ability to send out an email without summary #1048 (#1049) 2020-07-15 16:33:52 +05:30
test-matchers.js Initial testing with jest (#133) 2019-10-15 00:18:46 +05:30