Chatwoot/spec
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 Feature: Profile API [#238] (#354) 2019-12-10 10:29:35 +05:30
builders Feature: API Channel (#1052) 2020-07-21 12:15:24 +05:30
channels Feature: Availability Statuses (#874) 2020-07-04 11:42:47 +05:30
controllers chore: Add a check for defined labels in SDK API (#1259) 2020-09-20 19:29:39 +05:30
cypress Chore: Initialize Cypress tests (#1078) 2020-07-21 20:11:22 +05:30
dispatchers Non blocking event dispatch (#652) 2020-03-29 19:18:30 +05:30
factories feat: email channel backend (#140) (#1255) 2020-09-21 22:44:22 +05:30
finders Feature: Inbox greeting message (#927) 2020-06-09 23:54:35 +05:30
fixtures feat: email channel backend (#140) (#1255) 2020-09-21 22:44:22 +05:30
helpers 🚨Fix Rubocop lint errors 2019-10-20 14:17:26 +05:30
integration Fix url in emails, add frontendURL helper (#19) 2019-08-25 19:59:28 +05:30
jobs Feature: Slack integration (#783) 2020-06-12 23:12:47 +05:30
lib feat: Ability to reply to specific tweets (#1117) 2020-08-11 09:57:42 +05:30
listeners chore: General fixes and clean up (#1169) 2020-08-25 23:04:02 +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 fix: Check medium to decide 24 hour window (#1245) 2020-09-17 23:32:19 +05:30
policies Feature: Ability to switch between multiple accounts (#881) 2020-05-26 22:38:48 +05:30
presenters feat: Notification on new messages in conversation (#1204) 2020-09-10 19:19:15 +05:30
requests/api/v1 Feature: Slack - receive messages, create threads, send replies (#974) 2020-06-22 13:19:26 +05:30
services Chore: Cleanup attachment handling for Facebook & Whatsapp (#1051) 2020-07-17 00:32:32 +05:30
support Feature: Slack - receive messages, create threads, send replies (#974) 2020-06-22 13:19:26 +05:30
workers Enhancement: ability to send out an email without summary #1048 (#1049) 2020-07-15 16:33:52 +05:30
cypress.json Chore: Initialize Cypress tests (#1078) 2020-07-21 20:11:22 +05:30
rails_helper.rb Feature: Slack integration (#783) 2020-06-12 23:12:47 +05:30
spec_helper.rb Chore: Routine Bugfixes and enhancements (#979) 2020-06-25 23:35:16 +05:30
test_helper.rb Chore: Setup test coverage in codeclimate [#332] (#333) 2019-12-02 08:57:11 +05:30