|
| 1 | +import sys |
| 2 | +import os |
| 3 | + |
| 4 | +# Add the root directory to the system path. The script should be run from the root (`courseplan`) directory. |
| 5 | +sys.path.append( |
| 6 | + os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..", "..", "..")) |
| 7 | +) |
| 8 | + |
| 9 | +from scripts.email.helpers.firebase_users_loader import USERS |
| 10 | + |
| 11 | + |
| 12 | +# BCC = [user["email"] for user_list in USERS.values() for user in user_list] |
| 13 | +BCC = [ "[email protected]", "[email protected]"] # 2025 Spring PMM & PM |
| 14 | +# BCC = ["[email protected]"] # 2024 Fall and 2025 Spring TPM |
| 15 | + |
| 16 | +print(f"{len(BCC)} users are relevant to this template.\n") |
| 17 | +SUBJECT = "Take Note! CoursePlan Just Got Smarter." |
| 18 | +HTML = f""" |
| 19 | +
|
| 20 | +<div style="font-family: Proxima Nova, sans-serif; margin: 0 auto; background-color: #F7F7F7; font-size: 16px;"> |
| 21 | + <div style="text-align: center; padding: 40px 0px;"> |
| 22 | + <a href="https://ibb.co/dsg7Ww5R"><img src="https://i.ibb.co/NgS7VdyM/Screenshot-2025-02-13-at-5-12-07-PM.png" alt="CoursePlan Logo" border="0" style="height: 60px; width: 60px;";></a> |
| 23 | + </div> |
| 24 | + <div style="background-color: #FFFFFF; border-radius: 10px; padding: 40px 48px; max-width: 600px; margin: 0 auto;"> |
| 25 | +
|
| 26 | + <p style="font-weight: bold;">HEY COURSEPLANNER,</p> |
| 27 | +
|
| 28 | + <h2 style="color: #198F80; text-transform: uppercase; text-align: center; margin-bottom: 5px;">Introducing</h2> |
| 29 | + <h1 style="text-align: center; font-weight: bold; margin-top: 0;">NOTES</h1> |
| 30 | +
|
| 31 | + <p>Picking the right classes just got easier! CoursePlan now lets you add <strong>Notes</strong> under your courses — perfect for reminders like:</p> |
| 32 | +
|
| 33 | + <p> |
| 34 | + ✅ Only take this if [Professor Name] is teaching!<br> |
| 35 | + ✅ Pairs well with [Another Course] for a lighter workload<br> |
| 36 | + ✅ This class fills fast—enroll ASAP! |
| 37 | + </p> |
| 38 | +
|
| 39 | + <h3 style="font-weight: bold;">Add a Note in Seconds 📑</h3> |
| 40 | + <p>Quickly jot down important details under any course in your planner. Just click on a class, select "Add Note," and type away!</p> |
| 41 | +
|
| 42 | + <div style="text-align: center;"> |
| 43 | + <a href="https://gifyu.com/image/bblzy"><img src="https://s3.gifyu.com/images/bblzy.gif" alt="creatingNotes1" border="0" style="height:400px; width: 300px; border-radius: 20px"/></a> |
| 44 | + <div style="position: relative; height: 0;"><iframe id="js_video_iframe" src="https://jumpshare.com/embed/hjuKgADurbT4UzqAZNFa" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen style="position: absolute; top: 0; left: 0; height: 50px; width: 50px;"></iframe></div> |
| 45 | +
|
| 46 | + <p style="color: #198F80; text-align: center; font-size: 14px;">🔹Pro tip: Use notes to flag prerequisites or warnings from upperclassmen!</p> |
| 47 | +
|
| 48 | + <h3 style="font-weight: bold;">Customize Your Notes 🎨</h3> |
| 49 | + <p>Make Notes work for you! Edit them anytime by clicking on the note field.</p> |
| 50 | +
|
| 51 | + <div style="text-align: center;"> |
| 52 | + <a href="https://gifyu.com/image/bblsg"><img src="https://s3.gifyu.com/images/bblsg.png" alt="Editing Note" border="0" style="height: 240px; width: 300px; border-radius: 0" /></a> |
| 53 | +
|
| 54 | + <h3 style="font-weight: bold;">Delete When You're Done ❌</h3> |
| 55 | + <p>Changing plans? Removing a note is as easy as clicking the "X" next to it. Keep your CoursePlan clean and up to date!</p> |
| 56 | + <div style="text-align: center; margin: 20px 0;"> |
| 57 | + <a href="https://gifyu.com/image/bblLW"><img src="https://s3.gifyu.com/images/bblLW.gif" alt="creatingNotes2" border="0" style="height: 285px; width: 280px; border-radius:20px" /></a> |
| 58 | + </div> |
| 59 | + <p>We're always taking notes 🗒️ on how to improve CoursePlan for you! Got feedback? Questions? Suggestions? Hit us up at <a href="mailto:[email protected]" style="color: #1AA9A5; text-decoration: none;">[email protected]</a>.</p> |
| 60 | +
|
| 61 | + <p>We’re also working on some exciting updates, so follow us on <a href="https://www.instagram.com/courseplan.io/" style="color: #1AA9A5; text-decoration: none;">Instagram</a> for the latest! Expect to hear from us every so often—right in your inbox.</p> |
| 62 | + <p>See you soon,<br> |
| 63 | + Your friends at CoursePlan DTI ❤️</p> |
| 64 | +
|
| 65 | + <p style="text-align: center;"> |
| 66 | + Not a user yet? <a href="https://courseplan.io" style="color: #1AA9A5; text-decoration: underline;">Get started here</a><br> |
| 67 | + Don't want to graduate? <a href="https://courseplan.io" style="color: #1AA9A5; text-decoration: underline;">Unsubscribe</a> |
| 68 | + </p> |
| 69 | + </div> |
| 70 | +</div> |
| 71 | +
|
| 72 | +<div |
| 73 | + style="background-color: #105351; color: white; padding: 15px 35px; font-size: 16px; font-family: Proxima Nova, sans-serif;"> |
| 74 | + <div style="display: flex; margin: 0 auto;"> |
| 75 | + <p style="margin-left: 0; margin-right: auto;">Schedule Smarter. Plan Ahead.</p> |
| 76 | + <p style="margin-left: auto; margin-right: 0;"> |
| 77 | + <a href="https://www.instagram.com/courseplan.io/" style="color: #1AA9A5; text-decoration: underline;">Instagram</a> |
| 78 | + <span style="margin: 0 5px;">•</span> |
| 79 | + <a href="https://courseplan.io" style="color: #1AA9A5; text-decoration: underline;"">CoursePlan</a> |
| 80 | + </p> |
| 81 | + </div> |
| 82 | +</div> |
| 83 | +
|
| 84 | +""" |
0 commit comments