The Railsware Way - Mistakes & Lessons in Product Evolution, with Oleksii Ianchuk [0:00:00] Noah Labhart: Hello listeners, welcome back as we are dropping the final episode in our series sponsored by our good friends at Railsware. Railsware is a leading product studio with two main focuses, services and products. They have created amazing products like Mailtrap, Coupler and TitanApps, while also partnering with teams like Calendly and BrightBytes. They deliver amazing products and have happy customers to prove it. In this series, we are digging into the company's methods around product engineering and development. In particular, we will cover relevant topics to not only highlight their expertise, but to educate you on industry trends alongside their experience. In today's episode, we are speaking with Oleksii Ianchuk, product lead at Railsware, specifically for Mailtrap. Though he doesn't like to limit his activities to product development only, Oleksii has spent six years in product and project management and is keen on searching for insights and putting them to work. Oleksii, thanks for being on the show today. on Code Story. It's [0:00:59] Oleksii Ianchuk: my pleasure to be here. [0:01:00] Noah Labhart: Before we jump into our topic today, which, you know, this episode is entitled A Story of Product Evolution Through Mistakes and Lessons Learned. We're going to dive all into your experiences as product lead at Railsware and MailTrap. Before we do, tell me a little bit about you. Tell me, my audience, a little bit about you. So [0:01:16] Oleksii Ianchuk: I've been in kind of software development and IT sphere around 10 years. I started as a person who was told, do whatever you want in a small growing team. At that time, I was in affiliate marketing, especially in travel industry. And I had to pick up all jobs and all things that have to be done. So I did support, I did business development. I also didn't have resources for in-house engineers, but I had some budget for hiring some freelancers. And whatever it was possible to do, I was doing that. So actually, I was covering almost everything that small growing. growing team and direction inside a big company. So that gave me some skills and domain knowledge, information, how everything can be worked. So not just focusing in some one field. I'm more like a generalist, T-shaped person. So I did marketing. I do marketing right now. But as the team grows, of course, some directions became like their own teams, but I'm doing some close corporations. operations example between product and marketing here in Mailtrap as well at some point they suggested me hey do you want to do kind of product manager as my CEO who was managing in-house team I had to focus on some other things and that's how I came into kind of managing and own product inside these engineers in-house engineers and that's how I get it and still doing that. Very [0:02:47] Noah Labhart: cool. I appreciate that story. Let's dive into it then. The story of MailTrap starts with accidentally sending test emails to real users in 2011, right? That's the origination story there. How did MailTrap evolve from an internal quote-unquote failed to a platform serving hundreds of thousands of users? And I'd say, like, how did that mistake spark the creation of MailTrap? And what lessons did you learn about turning problems into opportunities? [0:03:16] Oleksii Ianchuk: is a product of Railsware. And at that time, Railsware was only a consultancy company, so we did projects for other guys. Still, Boutique, as an example, helped develop Calendly and others. And as we were developing the project for a client, it was a mistake. I think I'm always scared to send something to another email, but when you say, hello world, or some test to your real recipients, and people receive hey, or just test, and especially if it's a large scale, It could be a problem. And actually, yeah, the guys decided to solve that problem. So to solve the problem that they had themselves. And actually, it's one of the things how many products in MailTrap and Railsware have been created. So yeah, from that time, as it was a solved problem, so we didn't want to have the same mistakes they created. It wasn't even a project, I would say, at that time. Just to wait for people and utility, like fake SMTP, and start telling about that. And it appeared that it's a problem that not only Railsware at the time had. And that's how Mailtrap appeared. So after, of course, it became a product that you can pay, more like SaaS-oriented. But it appeared, as always, that you solve problems, especially that it's not only your, but has some feedback from others. It can become a business. Super [0:04:41] Noah Labhart: cool. Okay, so what made you decide to expand from email testing into email API SMTP delivery? And why was it harder than you expected? What led to that decision and what specific challenges around deliverability, spam fighting, infrastructure, etc. caught you off guard? [0:05:00] Oleksii Ianchuk: At General Clapton, we've just been releasing our email API. There is a few things that directed the company into not providing only sandbox, like fake SMTP, but real email sending. First, email sending, email API market is huge. The still sandbox email product is still quite niche. Though, yeah, we have thousands of users from Fortune 500 companies as well. But due to the nature of business, it's not every people are used to do email testing. they did some mistakes as we talked, make Railsware to create mail trap for themselves, or if they become big and they just want to have everything. So it's quite niche, even still we are number one product in that sandbox email testing, but it was obvious that there is some limitation. And of course, as we've already been doing email, the logic was okay. So we have all the users who are actively using our solution for sandbox emails. Let's provide and let's provide them a way to reach real recipients' inboxes. We already have users, it looks like email. So it's a kind of logical next step in evolution and the idea that we can use existing user base to expand the new product. Using [0:06:18] Noah Labhart: that approach makes sense. Can you walk us through the, quote-unquote, splitting the product mistake and its long-term consequences? So your team decided to separate testing and sending into different repositories the VPC projects. What seemed like a good engineering decision at the time? And how did this create problems as you scaled? And if you could go back, what would you do different? [0:06:40] Oleksii Ianchuk: Going back and what we might do differently, it's not doing that. Because right now we just finished merging both projects together. It's created extra costs. Isolation sounded great. But as you need to make, still have one product and many parts are the same, right? You use the same database of users. You need to use something else. And each time you need to create, we had to create something. The team had to create the same synchronization between both repositories. So we have to speak. It's rather, in our cases, it was like gRPC calls. But if you add some feature, it became like not one task to add in one place, but you always had to remember you added there. Delivering two projects, it's just more time consuming. And it's also created some other features, make it a bit more complex, for example, to run, to host our application in different regions. For example, making it available as a data residency in Europe to satisfy some privacy needs. If we do it just as we had with two apps, it created complexity. And it was growing, so at some point we just decided we're wasting time and located a few engineers just to do that. actually very happy that right now we're almost finished. Still, yes, there are some things we have to wrap up, but it looks much better right now. So yeah, we won't do that. I would say, start simple, don't over-engineer. As always, we had to learn on our mistakes. And I think it's always, of course, it depends. Maybe in some case it would work. Another thing that we might be doing a bit different right now, we decided that we have to go hard and we have to host MTA. So it's It's a mail transport agency, so it's actually a software that creates SMTP connections, sends real emails. We don't, of course, we haven't. We license it, so it's not our own product. But maybe it will be faster, as right now many companies, they just resell AWS SES, so it became like a wrapper of it. But you never know. It still gives us a lot of flexibility. We can control anything, everything. But I'm not sure you can control AWS SES as a user. we can create separate. It became harder to host it, to configure it, to maintain it, but still we have advantages as we can tune each part of email sending process. But it took time. It took time. [0:09:08] Noah Labhart: Sure. Yeah, hosting your own piece of the puzzle there gives you the ability to control it. That makes sense too. And starting simple also makes sense as well. You can be more flexible. You can build on top of a part of the solution. But I appreciate you walking through that one. I've [0:09:24] Oleksii Ianchuk: been talking about that because I came after the decision. Reselling AWS or building product on top of it, it was one of the solutions that the team has been thinking about. But we couldn't find out why it was some concerns about that, and we decided to go the hard way. Yeah, but who knows? Sure. [0:09:48] Noah Labhart: Sure. Okay, let's move into your migration slash switch from Redshift to Elasticsearch and the struggle there. What did that process teach you about technology decisions? Like you ran tests, evaluated alternatives, and still picked a database that didn't quite work for your use case. How do you balance through research with the reality that you can't always predict what will work until you're in production? [0:10:13] Oleksii Ianchuk: I can say that in this case, it's not the best example how we did it. So it's more like a lesson we had to learn. It was about mistakes and also maybe ideas to do everything ourselves. One of the things at the time, of course, we did a lot of research as a team. I checked them and different databases have been observed and what to use for saving logs as we're showing a lot of logs and stats for our users. So that was the decision. And I think the main thing here is that we choose a technology we didn't have an experience our engineers didn't have already experience with that. And we, that time, we also didn't ask for special consultancy or some support, whatever, some experts who know it better than we. So we had to spend our time, learn lessons, optimizing it. And a year and a half ago, it was obvious that it's not the right way to do it. We had some limitations and we spent a lot of time in maintenance and we started looking for alternatives. And this time we did it a bit different. Yes. How it actually finished. We started with hiring some experts in Redshift. And all of them confirmed that it's a great database, but not for the case that we used it. And to make it work as we want, it would take significant time and resources. So we decided to move to OpenSearch. Well, it's OpenSearch because we are AWS. So it's Elastic, right? But rebranded and forked with Elastic. And this time we did it a bit different. So we started looking for people who have a lot of experience with that. And it really changed the speed of delivery and estimation of the solution. [0:11:57] Noah Labhart: So, okay, this will be interesting. When do you buy external expertise versus relying on your own internal team? You mentioned a little bit finding Redshift experts in that last answer. It might overlap into that. But how do you decide when to hire outside knowledge? And how do you find the right consultants or contractors for these niche problems? [0:12:15] Oleksii Ianchuk: Right now, we try not to forget about that step. Then we onboard some new technology, because paying someone a few hours for his time, and if he has experience of years in that technology, it's really a deal-breaker in terms of avoiding mistakes and making solutions easier. The process is quite not very complicated. We are looking for experts. Sometimes we look for some guys in competitor companies if they're dealing with some problems, but many of them have NDAs. Although it sometimes gives us some insights about competitors' technology, using a special, like, it's a big market, and we are not the only player who's solving that problem. And finding a guy, it takes time, but it's actually not hard to think. You're just reaching people in LinkedIn, in Twitter, in social media, or you find some blog posts where people describe their own experience, how they solve that problem. So usually people who have experience, they're discoverable, Then just the problem, like to reach them and to, do they want to do it? Some of them just don't use to do such work as a consultancy, consultation per hour. Some just sign an NDA. If somebody agrees, onboard them. We have a call talking about our problem. He tells about the experience. And if we have a match, we just continue to work. Sometimes we have experts who we work with. of an expert in our Slack channel that right now we don't have so many questions, but time to time we have them and it just is very convenient to double check something. Then you have doubts and not sure. Okay, [0:13:58] Noah Labhart: so let's go back to the email API SMTP feature for MailTrap, right? You've got that built, you released it, you told me the story there of what helps the team to make that decision, but why didn't existing MailTrap users immediately adopt it? And then what did that teach you? The [0:14:13] Oleksii Ianchuk: expectation, as mentioned before, this idea that, okay, we have customers who use fake SMTP, we provide real SMTP plus API to send emails, and we'll just be swimming in money as we already have that audience and have a lot of content marketing around emails. but we face the reality. The reality is that cost of switch is really high for some customers, especially if it works for someone and they're happy, they don't have major issues with emails. And it's usually a critical part of many products because it's some signups, flows, registrations, etc. Some important notifications. And if it works for somebody, they don't want to switch It has to happen something. The same story, like we have customers who are really big customers who can switch very fast. We're ready to switch if they have some issue. Maybe they've been false positive blocked and support haven't been replied in that platform and they need their emails to start, continue with sending. As we have customers, we have businesses. All products, they have the same feature, they have one job to deliver your emails. But then something is not enough or something doesn't work, then it's a moment. Another thing is also some compliance issues, especially for big companies. Even we have been pre-approved vendor. Still for them, not a big deal. And sometimes money is also mostly not a factor to save. And we also don't position ourselves as a cheap alternative. So we can market price money. And for big company, even plus two, three, $5,000 a month, be cheaper somewhere. It's not a deal-breaker compared to the costs, how you need to pay for your engineers, support team to onboard new tool, etc. So it didn't work for everyone, but still we have some good cases than people just have been using Sandbox. They, at some moment, they thought, okay, something I'm not happy with my current solution, and they think about Mailtrap, and they reach us, and we try to be very we sell our support. So we're proud of our support team and our client service. And yeah, some switched to us, but it just didn't happen overnight when we launched a new product and everybody just started signing up to it. [0:16:44] Noah Labhart: So in that same topic, right, what business insights around deliverability, spam prevention, and compliance surprised you the most? I'm curious about, as you're going through that process, seeing people use it to it? What are the areas or categorical areas that surprised you? I'd say [0:17:03] Oleksii Ianchuk: it just appeared a bit more complex and harder than we expect. Deliverability is one of the things that should be as stellar as if you use a pad and people paying for you they just also switch. And if you can solve their problem. It's very related also to fighting with spammers and to gatekeep them from the system as one spammer can impact, for example, if they have some shared IP addresses some customers who don't qualify or haven't purchased dedicated addresses, spammer can impact their reputation of those addresses. So a bad actor can block sending or protectors. And they are smart guys. So it's a big industry, a lot of money there. And phishing, spam, also actually cold outreach. We forbid cold outreaching as it's back to Google and others. They treat it as spam. Mostly because you're expecting to receive that email. And so we decided that we have to work play by the rules and building some compliance system. It was actually a hard decision and it's not very easy because in some way you want that onboarding process and person start sending you as fast as possible. So don't have a lot of friction, but at the same time, you want to make sure that they are not tricking you. And of course, it's impossible to create 100% ideal compliance system. So we have to find some balance there and still even working on that for a couple of years, have a separate squad whose responsibility is one of responsibilities that way, that area. Sometimes still some false positives happen. Even we introduce like some AI content checking signups to us, etc. Still, mistakes happen. Still, also, spammers get into sometimes. But we're actually quite happy with the results. But yeah, it took more time and more dedication. We thought that, okay, it couldn't be not a separate role, but appeared it should be a separate focus. And also, deliverability, we started learning on our own mistakes, but then we hired a guy. And right now, it's even a small deliverability team. And it's only their job to make sure they consult customers on board them if they switch from others, but also to monitor everything and proactively make the system good for everyone. So, [0:19:35] Noah Labhart: okay, you touched on this a little bit in your answer, but I want to dig in a little more because email delivery isn't just about infrastructure, right? There's a whole ecosystem, postmasters, anti-spam systems, and then a lot of what you mentioned, compliance requirements, right? What aspects of this sort of business were most unexpected? being surprised by a few things before, but I'm curious about how they shaped your product strategy. [0:19:59] Oleksii Ianchuk: They mostly shaped that we have a separate guild and it became one of the focus if we have some tasks that have to be delivered, stories to be done in that way, usually the highest priority for everyone. So because it impacts everyone, all of our customers sometimes. About, yeah, it's not about only infrastructure, it's actually a lot of manual work. Some things can be automated, But sometimes you have a problem with specific internet service provider mailboxes in a local region, some specific country, for example, France or Germany or even others. And you have to reach their postmasters. Sometimes they just don't reply to you. Sometimes it's hard to reach. It became unexpected. Right now, of course, we already established some at least communication where we need to be. it became easier and then we have a separate person who already been in that so actually how we did it so we started the same. Not a mistake but maybe yeah we started deliverability expertise in-house but we decided that yeah we need to hire somebody with expertise there because it's a full-time job and that's why how we got a guy who can already work in that. Another thing that it's we buy a system that delivers email of aspects it's what you send when you send so it's on the client side and we have to educate customers so that's why we proactively see if you see some problems we reach them and say guys need to fix it and that's why we include our deliverability services for some higher plans without extra because yeah it has to be cooperation because we don't control most of the time what what people send, when they send it. And if it's not just simple transactional emails, and especially if we're talking about like marketing emails, simple mistakes, there are millions of articles how to do that, best practices. We also have our own deliverability guide that it's not something that we make up. It's just general knowledge. But still, people, some don't know, some just close eyes, some think that, okay, it will work. It might work, but in long-term perspective, your domain reputation goes down, it will be bad for you, for customer, and sometimes it's really hard to fix. Yeah, it's a lot of work, much more work than it was expected, and communication with clients is what we have to do. [0:22:27] Noah Labhart: Oleksii, that makes sense. I appreciate you walking through that. Okay, Oleksii, last question. So, looking at MailTrap's 13-year journey, right, which, wow, 13-year journey of bringing this product to market through all kinds of unexpected things philosophy on failing fast versus building solid foundations, getting something to market quick and learning from the things that work and that don't, or building systems that are meant to not fail from the very beginning. Tell me your perspective there. We [0:22:58] Oleksii Ianchuk: try to find balance. Yeah. Philosophy is trying to find balance because we are a business that other businesses are very dependent. And we put a lot of time and efforts in reliability, in making sure that our services are reliable. We had to build and make sure that we have all processes for like support and duty, pager duty, if something goes down, because if service doesn't work, it became a problem. And at the same time, it's hard to get customers. And if we are down and for a significant time. People, the same as they switch from competitors, they can switch from us because you can also lose money. It's some things as we hear in as we create a infrastructure for many businesses, we try not to make any sacrifices, especially in infrastructure and being reliable. We, as recently, had that Cloudflare outage. It also impacted us a bit. So as we also used it to do those protection hard to switch as we switched but we still been waiting for availability of the dashboards cloud fair we learn our lessons and so we're like post-mortem inside and right now i have steps what we have to improve to be ready for that of course it happened when almost the whole internet is down it's hard to do anything but still yeah we are working in that direction in these things we try not to save time and money but do it proper as core our value and in terms of experiments other things that i know ui etc where you can do it's less risky and i think in those things you can you can do experiments you have higher tolerance for failures mistakes you just test what works and that but as i say it's about like our thing as delivering emails if we might be not our customers and uptime should be our priority. It might be also doing something else with core infrastructure. [0:25:02] Noah Labhart: Excellent. That's super cool. And I appreciate that balance there. Oleksii, I really appreciate you being on the show today. MailTrap is an incredible product serving the needs of teams. But it took many turns to arrive at its current state. And on its 13-year journey, you and the team have learned many lessons from releases. You've been made aware of all that makes up the ecosystem of a product like this and learned how to balance building solid foundations versus failing fast. Appreciate you being on the show today and enlightening our audience on all these things across this journey. So thank you again for being on the show. Thank [0:25:35] Oleksii Ianchuk: you so much for inviting. It's really my pleasure. Ready to help everyone who needs to send and deliver emails. else. [0:25:42] Noah Labhart: Oleksii has really shown how releasing and maturing a product into the wild of the market can lead to many twists and turns from which you have to learn quickly, adapt fast, and ship foundational software that is flexible with the market needs. Thank you for listening today. If you would like to learn more about Railsware, please visit their website at railsware.com. That's R-A-I-L-S-W-A-R-E dot com. And thanks again for listening.