I'm looking for a program that allows me to enter an unlimited number of email addresses and receive all messages. The program's interface is divided into three sections: the first is reserved for the email address, and the second section is for the messages I receive, and the third section is for the message content. Generally I want it like an edisonmail program - Initial Deployment
2b327c4 verified Download index.html from MEDAMJAD/gmail: direct link, hf CLI and curl.
- Browser
- Download file 19.3 kB
-
https://huggingface.co/spaces/MEDAMJAD/gmail/resolve/main/index.html
- Command line
-
hf download hf://spaces/MEDAMJAD/gmail/index.html
-
curl -L -o index.html https://huggingface.co/spaces/MEDAMJAD/gmail/resolve/main/index.html
19.3 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Unified Email Client</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet"> | |
| <style> | |
| .email-list-item:hover { | |
| background-color: #f3f4f6; | |
| } | |
| .email-list-item.active { | |
| background-color: #e5e7eb; | |
| } | |
| .custom-scrollbar::-webkit-scrollbar { | |
| width: 6px; | |
| } | |
| .custom-scrollbar::-webkit-scrollbar-track { | |
| background: #f1f1f1; | |
| } | |
| .custom-scrollbar::-webkit-scrollbar-thumb { | |
| background: #c1c1c1; | |
| border-radius: 3px; | |
| } | |
| .custom-scrollbar::-webkit-scrollbar-thumb:hover { | |
| background: #a8a8a8; | |
| } | |
| </style> | |
| </head> | |
| <body class="font-inter bg-gray-50 h-screen flex flex-col"> | |
| <!-- Header --> | |
| <header class="bg-white shadow-sm py-3 px-6 flex items-center justify-between"> | |
| <div class="flex items-center space-x-2"> | |
| <i data-feather="mail" class="text-blue-500"></i> | |
| <h1 class="text-xl font-semibold text-gray-800">Unified Mail</h1> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <button class="p-2 rounded-full hover:bg-gray-100"> | |
| <i data-feather="settings"></i> | |
| </button> | |
| <div class="w-8 h-8 rounded-full bg-blue-500 flex items-center justify-center text-white font-medium"> | |
| U | |
| </div> | |
| </div> | |
| </header> | |
| <div class="flex flex-1 overflow-hidden"> | |
| <!-- Sidebar - Email Accounts --> | |
| <div class="w-64 bg-white border-r border-gray-200 flex flex-col"> | |
| <div class="p-4 border-b border-gray-200"> | |
| <button id="add-account-btn" class="w-full bg-blue-500 hover:bg-blue-600 text-white py-2 px-4 rounded-md flex items-center justify-center space-x-2 transition-colors"> | |
| <i data-feather="plus" class="w-4 h-4"></i> | |
| <span>Add Account</span> | |
| </button> | |
| </div> | |
| <div class="flex-1 overflow-y-auto custom-scrollbar"> | |
| <div class="p-4"> | |
| <h2 class="text-xs font-semibold text-gray-500 uppercase tracking-wider mb-2">Email Accounts</h2> | |
| <ul id="email-accounts-list" class="space-y-1"> | |
| <!-- Accounts will be added here dynamically --> | |
| </ul> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Email List --> | |
| <div class="w-96 bg-white border-r border-gray-200 flex flex-col"> | |
| <div class="p-3 border-b border-gray-200 flex items-center space-x-2"> | |
| <div class="flex-1 relative"> | |
| <i data-feather="search" class="absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400"></i> | |
| <input type="text" placeholder="Search emails..." class="w-full pl-10 pr-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500"> | |
| </div> | |
| <button class="p-2 rounded-md hover:bg-gray-100"> | |
| <i data-feather="filter"></i> | |
| </button> | |
| </div> | |
| <div class="flex-1 overflow-y-auto custom-scrollbar"> | |
| <div id="email-list" class="divide-y divide-gray-200"> | |
| <!-- Emails will be added here dynamically --> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Email Content --> | |
| <div class="flex-1 bg-white flex flex-col"> | |
| <div class="p-4 border-b border-gray-200 flex items-center justify-between"> | |
| <div class="flex items-center space-x-4"> | |
| <button id="back-to-list" class="md:hidden p-2 rounded-md hover:bg-gray-100"> | |
| <i data-feather="arrow-left"></i> | |
| </button> | |
| <h2 class="text-lg font-medium text-gray-800">Message</h2> | |
| </div> | |
| <div class="flex items-center space-x-2"> | |
| <button class="p-2 rounded-md hover:bg-gray-100"> | |
| <i data-feather="archive"></i> | |
| </button> | |
| <button class="p-2 rounded-md hover:bg-gray-100"> | |
| <i data-feather="trash-2"></i> | |
| </button> | |
| <button class="p-2 rounded-md hover:bg-gray-100"> | |
| <i data-feather="more-vertical"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div id="email-content" class="flex-1 overflow-y-auto custom-scrollbar p-6"> | |
| <div class="max-w-3xl mx-auto"> | |
| <!-- Email content will be displayed here --> | |
| <div class="text-center py-20 text-gray-400"> | |
| <i data-feather="mail" class="w-12 h-12 mx-auto mb-4"></i> | |
| <p>Select an email to read</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Add Account Modal --> | |
| <div id="add-account-modal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden"> | |
| <div class="bg-white rounded-lg shadow-xl w-full max-w-md"> | |
| <div class="p-6"> | |
| <div class="flex items-center justify-between mb-4"> | |
| <h3 class="text-lg font-medium text-gray-900">Add Email Account</h3> | |
| <button id="close-modal" class="text-gray-400 hover:text-gray-500"> | |
| <i data-feather="x"></i> | |
| </button> | |
| </div> | |
| <div class="space-y-4"> | |
| <div> | |
| <label for="email-address" class="block text-sm font-medium text-gray-700 mb-1">Email Address</label> | |
| <input type="email" id="email-address" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500" placeholder="your@email.com"> | |
| </div> | |
| <div> | |
| <label for="email-password" class="block text-sm font-medium text-gray-700 mb-1">Password</label> | |
| <input type="password" id="email-password" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500" placeholder="••••••••"> | |
| </div> | |
| <div class="flex items-center"> | |
| <input type="checkbox" id="remember-me" class="h-4 w-4 text-blue-500 focus:ring-blue-500 border-gray-300 rounded"> | |
| <label for="remember-me" class="ml-2 block text-sm text-gray-700">Remember this account</label> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-gray-50 px-6 py-3 flex justify-end space-x-3 rounded-b-lg"> | |
| <button id="cancel-add-account" class="px-4 py-2 border border-gray-300 rounded-md text-sm font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500"> | |
| Cancel | |
| </button> | |
| <button id="confirm-add-account" class="px-4 py-2 bg-blue-500 border border-transparent rounded-md text-sm font-medium text-white hover:bg-blue-600 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500"> | |
| Add Account | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <script> | |
| </script> | |
| </body> | |
| </html> | |