Atrium is an email client for phish.directory staff. It provides a modern, user-friendly interface for sending and receiving emails with your personalized [email protected] email address.
- User Authentication: Secure login system for staff members
- Email Management: Send, receive, and organize emails
- Conversation Threading: View email conversations in a threaded format
- Rich Text Editing: Compose emails with rich text formatting
- Email Organization: Star, archive, and mark emails as read/unread
- Modern UI: Clean, responsive interface using Tailwind CSS
- Ruby 3.4.2
- PostgreSQL
- Rails 8.0.2
-
Clone the repository:
git clone https://github.com/phish-directory/atrium.git cd atrium -
Install dependencies:
bundle install
-
Set up the database:
bin/rails db:create bin/rails db:migrate bin/rails db:seed
-
Set up Action Text and Action Mailbox:
bin/rails action_text:install bin/rails action_mailbox:install bin/rails db:migrate
-
Start the Rails server:
bin/rails server
-
Access the application at http://localhost:3000
To configure Action Mailbox for receiving emails, edit your credentials:
bin/rails credentials:editAdd the following configuration:
action_mailbox:
ingress_password: your_secure_password
smtp_settings:
address: smtp.your-email-provider.com
port: 587
domain: mail.phish.directory
user_name: your_username
password: your_password
authentication: plain
enable_starttls_auto: trueFor production, set up your mail routing to forward emails to the Action Mailbox endpoint:
https://yourdomain.com/rails/action_mailbox/postmark/inbound_emailsAfter running rails db:seed, the following accounts will be available (only in development):
-
Admin User:
- Email: [email protected]
- Password: password123
-
Regular Users:
-
Email: [email protected]
-
Password: password123
-
Email: [email protected]
-
Password: password123
-
For development, you can test email receiving functionality using:
-
The Rails console:
# Create a test inbound email ActionMailbox::InboundEmail.create_and_extract_message_id!( from: "[email protected]", to: "[email protected]", subject: "Test Subject", body: "This is a test email body." )
-
Letter Opener Web (for outgoing emails):
- Send an email through the application
- View it at http://localhost:3000/letter_opener
This project is licensed under the GNU General Public License v3.0.
For any questions or support, please contact the phish.directory team.