 All right, what's up everyone so this isn't gonna be a tutorial this is just some stuff I'm working on so one thing that's a little annoying when you're trying to configure your own system most of it honestly is Pretty easy, but one thing that is a little annoying is getting an email setup. That's totally perfect You know, I've been tinkering with my email setup for quite a while. You know, I use mud. I use offline. I map That's to keep my email offline. I want to have encrypted passwords So no one messing around on my machine is just gonna happen across my password or something like that So there are a bunch of moving pieces if you want a really, I don't know perfect email setup So I figured And yeah, the other thing you have to realize is when you're configuring email It's not just you need your email address in your password You need your IMAP and SMTP server information your port numbers all that kind of stuff if you're configuring mutt or some Terminal email client you got to basically do all that stuff yourself or the folder structure to your email all the all these details You have to know so People ask me all the time. Oh god. I'm trying to configure mutt. What do I do? And I give I tell them what to do, but you know, it's much it'd be much much easier if I had a Auto configuration wizard that gave someone you just give it an email address and basic data and it gives you everything you need So that's what I've been doing. Okay, so let me show you What exactly we're talking about here. So first let me show you I have no offline IMAP RC file now the offline IMAP RC file would be You know a file that has all the server information for the IMAP server it goes online It gets you know your emails and downloads them So there's no file here. I've deleted that for purposes of this video I've made a script that is going to be able to generate that also generate it's going to be able to to encrypt passwords and Save them securely and it also generates mutt config files All by just giving it your email now how this is working so far is Let me open this up. So I have this nice little file domains dot CSV Which really just has a huge list of different email addresses a lot of them are from like You know mail calm or cocked out Lee that both have a bunch of domains, but Basically for each one, I'm still filling this thing out, of course, and you're welcome to you know add email addresses or whatever But I have IMAP servers IMAP ports SMTP servers ports and then the general directory Structure of each email so the idea behind my script is basically you give it an email It looks up what kind of server settings That you should have in this file and then it generates everything you need in all the syntax of Offline IMAP or mutt or see all of that's done automatically And it also prompts you for your password which it stores encrypted on your device and automatically will load that password You know when you're accessing it with mutt or offline IMAP. Let me just if that's a little abstract That's good because you don't need to know about it because there's now a script for it or at least it's not totally done But it's it's getting there now. Let me actually run this thing And show you what it looks like right now. So again, I have no config file for the offline IMAP Or you know this email address I'm about to do actually let me double-check just Is this yeah, okay? Oh good I don't I don't even have the little email folder that I'm gonna load the mail in anyway Doesn't matter. Let's just do it. So the first thing the script asks you for is actually actually not the email You want to sync but the email you have a GPG public private key pair with Which you do need for this. So, you know, just put in your normal email So after that it'll prompt you for basic information about your account So the the email account that I'm gonna use is a one I made just a minute ago. So Luke Smith at meme aware net This is a cock.ly account just press enter Then it asks you for the name you want to go by on the account I'll just say Luke and it also asks for a name that you want the account to be called to differentiate it with from other things So I'm gonna call it Luke meme It just has to be something distinct from other accounts. It doesn't really matter. You never see it Then you it prompts you for the password and I'm gonna type in the password here And it's gonna take that password and it's gonna encrypt it and store it in a particular place So that's actually the end of the scripted as it is right now I don't have more advanced options, but I'll go ahead and tell you that that has now done everything you need In fact, it's already Generated an offline IMAP Has it yeah offline IMAP RC file, which you can go ahead and look at But we don't even need to look at it. Let's just run offline IMAP and see what happens See it's accessing the account now And you see it actually creates the entire repository offline and it's loaded my one email that's on this account But yeah, so now if you actually look in the mail directory is Not in the home directory If you go to mail Luke meme there it is and that's gonna be all your mail in there So I don't let's see I do not have it configured so that you can immediately open mutt, but it does that script does produce a mutt config file so it actually creates this file here, which you'll see quite nicely has all the SMTP server information including the port It has you know the the directory structure And it's also going to create some macros for jumping from inbox descent to drafts to different stuff like that So that's all the kind of stuff that it does So right now all I have is just this little script that goes through it Oh, and I also noticed what I didn't do when I called offline IMAP It didn't prompt me for my password and that's because what it actually is doing. Let me actually show you this What it is actually doing is it's running? I think a Python script. Yeah, Python decryption script And it runs a specific command basically to get it uses GPG to decrypt your password. So if Yeah, you might get a prompt saying enter your you know key password or whatever But yeah, that's pretty much it Okay, so this is sort of what I'm looking on working on right now again. It's not a Tutorial videos. So just know that I'm working on this thing right now and I'm hoping to have Finished fully functioning version where you can add accounts delete accounts, you know, play around with stuff change settings really easily Put in custom email settings, whatever I'm hoping to have a script that can pretty much do all of that And I'm gonna re-release it in Larbs or whatever next time I've you know, I put out a video about it So anyway, that's about it. As you can probably tell I'm so tired right now. I just I'm pretty drained from today It's not even midnight, but you know, whatever. All right, so I'll see you guys next time. This has just been informative Video, I'll see you guys later