Notifications Module
Notification module - sends email/SMS alerts for new jobs.
NotificationConfig
- class modules.notifications.NotificationConfig(smtp_host: str = 'smtp.gmail.com', smtp_port: int = 587, sender_email: str = '', sender_password: str = '', recipient_email: str = '', twilio_sid: str = '', twilio_token: str = '', twilio_phone: str = '', recipient_phone: str = '')[source]
Bases:
objectEmail/SMS configuration.
- recipient_email: str = ''
- recipient_phone: str = ''
- sender_email: str = ''
- sender_password: str = ''
- smtp_host: str = 'smtp.gmail.com'
- smtp_port: int = 587
- twilio_phone: str = ''
- twilio_sid: str = ''
- twilio_token: str = ''
NotificationService
- class modules.notifications.NotificationService(config: NotificationConfig | None = None)[source]
Bases:
objectSends notifications for new job listings.