Sell better with instant access to e-mail history from any web page. Power up Trello, Jira, CRM/CMS and any web site or service with IMAP mailbox integration. Click any e-mail and instantly get the correspondence history in your browser.
- Click any e-mail address on any web page
- Select Mailwork in a browser's context menu
- Extension sends a query to Mailwork server with particular email
- The query contains creds for your IMAP or Mailwork server can use predefined IMAP settings
- Mailwork server connects to the IMAP and looks up for messages history with the e-mail
- Mailwork prepares the found emails as a chat conversation and returns to the extension
- You see a dialog with the e-mail's owner
- You can write an instant message which will be sent via SMTP server
# clone the repository
git clone git@github.com:garakh/mailwork.git .
# install php dependencies
php composer.phar install
# install js dependencies
bower install
Configure via gulp
# install gulp dependencies
npm install
# answer the questions to prepare a config file
# src/Config/config.json will be created
gulp setup
Manual configuraion
Copy src/Config/config.example.json
to src/Config/config.json
{
"search": {
"date-modifier": "-6 month"
},
"authorization": {
"secret-token": "supersecrettoken"
},
"mail-settings": {
"email": "username@gmail.com",
"imap-server": "imap.gmail.com",
"smtp-server": "smtp.gmail.com",
"imap-port": 993,
"smtp-port": 587,
"username": "username",
"password": "password",
"copy-sent-to": "[Gmail]/Sent Mail",
"search-mailbox-in": ["INBOX"],
"search-mailbox-out": ["[Gmail]/Sent Mail"]
},
"cache-settings":
{
"path": "/../cache",
"ttl": 300
}
}
Mailwork server uses these options by default (if the extension doesn't override them)
Your browser will display a lot of warnings if you don't use HTTPS on Mailwork server. You can create a free self-signed SSL certificate and install it on your local computer.
openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days X365 -nodes
openssl x509 -outform der -in cert.pem -out cert.crt