Skip to main content

Ishtam AI - Custom AI-Powered Email Message Generator

Ishtam AI is a custom AI-powered email generator! It allows users to send love notes, schedule emails, get date ideas, and chat with AI to create personalized messages tailored to their partner’s preferences.

Installation & Setup

Setting Up a Virtual Environment

It is recommended to install Ishtam AI in a virtual environment to avoid dependency conflicts.

  1. Create a virtual environment:
    • On Linux/macOS:
      python -m venv ishtam  
      source ishtam/bin/activate  
    
    • On Windows (PowerShell):
     python -m venv ishtam  
     ishtam\Scripts\Activate  
    

Install the Package

Install Ishtam AI from PyPI:

pip install ishtam_ai  

Verify the installation:

python -c "import ishtam_ai; print('Package installed successfully!')"

Running AI-Powered Features

Install & Run Ollama (For AI Responses)

Ollama is required for AI-generated love messages.

  • On Linux:
  curl -fsSL https://ollama.com/install.sh | sh  
  • On MacOS/Windows (requires Homebrew):
    If Homebrew is not installed, install it first:

    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"  
    

    Then, install Ollama:

    brew install ollama  
    
    

Before running the app, start the Ollama server:

ollama serve  

Using Streamlit

Running the Streamlit App

Before launching, check where Ishtam AI is installed:

python -c "import ishtam_ai; print(ishtam_ai.__path__[0])"  

If installed inside a virtual environment or system-wide, run:

streamlit run $(python -c "import ishtam_ai; print(ishtam_ai.__path__[0])")/app.py  

Logging into Streamlit

Streamlit login is optional, but if required:

streamlit login  

Setting Up Email Credentials

To send emails, configure email credentials as environment variables:

export EMAIL_ADDRESS="your-email@gmail.com"  
export EMAIL_PASSWORD="your-app-password"  

Google App Passwords

If using Gmail, generate a 16-digit App Password instead of using your actual password.
To generate an App Password:

  1. Go to Google Account Security Settings
  2. Select App Passwords
  3. Generate a 16-character password
  4. Use the generated password as $EMAIL_PASSWORD

Verify that credentials are set:

echo $EMAIL_ADDRESS  
echo $EMAIL_PASSWORD  

Using the App

Once the Streamlit app launches, you can:

  • Chat with AI for personalized romantic messages
  • Send Love Emails with heartfelt notes
  • Schedule Recurring Messages to automate love messages
  • Get AI-Powered Date Ideas

Upgrading the App

pip install --upgrade ishtam_ai


Troubleshooting

Ollama Not Running?
Ensure the Ollama server is active:

ollama serve  

Streamlit File Error?
Use the correct command to run Streamlit:
streamlit run ishtam_ai/app.py

Emails Not Sending?
Check email credentials:

echo $EMAIL_ADDRESS  
echo $EMAIL_PASSWORD  

Gmail Users: Ensure App Passwords are set up correctly.

License

This project is licensed under the MIT License.

Enjoy Ishtam AI!

Now you can spread love with AI-powered messages! Let me know if you need any help.

Release files for ishtam-ai 1.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ishtam-ai 1.0.8
File Size Uploaded
ishtam_ai-1.0.8.tar.gz 10.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ishtam-ai 1.0.8
File Interpreter ABI Platform
ishtam_ai-1.0.8-py3-none-any.whl Python 3 none any Details

Total release size: 22.0 kB

Release files / ishtam_ai-1.0.8.tar.gz

Download URL ishtam_ai-1.0.8.tar.gz
Size 10.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2ff639473dfb222ec22a0ca0a9509833f74808015b6514f6d59b7c4b47788551
BLAKE2b-256 checksum
How to use checksums
2429e364c3a625b4450fb2eb15622fcd059c7ad3647dc5ce14b0626bb76ae7dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.13

Release files / ishtam_ai-1.0.8-py3-none-any.whl

Download URL ishtam_ai-1.0.8-py3-none-any.whl
Size 11.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a0284ac8166137dfcc4d5116fabf3f453d209cd08fcb73c5daa56c3ed0b8bef9
BLAKE2b-256 checksum
How to use checksums
3a10f748d4c8fc37b54da414a6610d2873ac8e63dab59257d903a87a56f26f85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.13

Release history Release notifications | RSS feed

This release

1.0.8 This release

2 release files

1.0.7

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page