Skip to content

An app to fetch emails from your inbox and display it, you can reply to emails directly from the app.

Notifications You must be signed in to change notification settings

GaganGupta19/email-handler

Repository files navigation

This is an Email Panel

This panel stores mailboxes, emails, employees details, user details etc The admin and only assigned employees can reply to assigned emails.

Procedure to run this app on local machine

bundle install

install redis on your machine for running background jobs

run rails db:create

run rails db:migrate

run rake db:seedto populate dummy admin and employee data

run bundle exec sidekiq to start sidekiq to start background jobs

run rails s

you can also run tests for FetchEmail module with rspec spec/unit/fetch_mail_test.rb but populate the values for your mailbox in fetch_mail_test.rb before running the tests.

to access sidekiq go to 'localhost:3000/sidekiq'

You can visit demo but it might not load emails because of remote location of the server and security reasons of gmail. Although you can try it but perform functions mentioned in IMPORTANT NOTE section before adding mailbox details.

IMPORTANT NOTE

you have to provide permissions to prevent gmail from blocking the access. you can go to:

Turn this on your gmail account

Also provide access through this

About

An app to fetch emails from your inbox and display it, you can reply to emails directly from the app.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published