MCPcopy
hub / github.com/CryptoSignal/Crypto-Signal / notify_gmail

Method notify_gmail

app/notification.py:157–170  ·  view source on GitHub ↗

Send a notification via the gmail notifier Args: new_analysis (dict): The new_analysis to send.

(self, new_analysis)

Source from the content-addressed store, hash-verified

155
156
157 def notify_gmail(self, new_analysis):
158 """Send a notification via the gmail notifier
159
160 Args:
161 new_analysis (dict): The new_analysis to send.
162 """
163
164 if self.gmail_configured:
165 message = self._indicator_message_templater(
166 new_analysis,
167 self.notifier_config['gmail']['optional']['template']
168 )
169 if message.strip():
170 self.gmail_client.notify(message)
171
172
173 def notify_telegram(self, new_analysis):

Callers 1

notify_allMethod · 0.95

Calls 2

notifyMethod · 0.45

Tested by

no test coverage detected