Skip to main content

Inbox

The Inbox module in Flux CRM is built using Blade.php and integrates with the Gmail API (if linked on the API page). It displays a list of Gmail conversations and allows users to view and respond to emails directly from the CRM. This module is still in development and requires significant improvements to meet its intended functionality.

Gmail Conversations List

When the Gmail API is linked, the Inbox displays a list of Gmail conversations, showing:

  • Conversation ID: A unique identifier for each conversation.
  • Shortened Title: A truncated version of the email subject for quick identification.

Only the Conversation ID and Shortened Title are stored in the database to minimize data storage.

Viewing and Replying to Conversations

Users can click on a conversation to view the entire email thread. When a conversation is opened:

  • Conversation Details: Loaded via an API call to the Gmail API, retrieving the full conversation.
  • Reply to Email: Users can reply to the last email in the thread using a Contact Form, which is similar to the standalone contact form used in other parts of the system.

Current Limitations and Future Improvements

The Inbox module is not yet fully functional. Currently, it does not:

  • Show all new incoming emails consistently.
  • Mark emails as Read when a conversation is viewed.
  • Allow replies to any message within the conversation, as intended.

Additionally, the module should hide sensitive supplier details, such as company name and address, replacing them with internal abbreviations to obscure supplier identities from employees.

The goal is to allow full interaction with Gmail conversations directly within Flux CRM, reducing the need to access the Gmail app or account directly. Once fully functional, the module should handle new emails, mark them as read, and enable replies within the conversation thread, while also masking supplier details with internal codes or abbreviations.